Fix gemspec only case
This commit is contained in:
parent
07a8f09b9f
commit
fc56b96b09
@ -708,9 +708,14 @@ module RbInstall
|
|||||||
prefix = @base_dir
|
prefix = @base_dir
|
||||||
end
|
end
|
||||||
|
|
||||||
Dir.glob("#{base}{.rb,/**/*.rb}").collect do |ruby_source|
|
libs = Dir.glob("#{base}{.rb,/**/*.rb}").collect do |ruby_source|
|
||||||
remove_prefix(prefix, ruby_source)
|
remove_prefix(prefix, ruby_source)
|
||||||
end
|
end
|
||||||
|
if libs.empty?
|
||||||
|
[File.basename(@gemspec, '.gemspec') + '.rb']
|
||||||
|
else
|
||||||
|
libs
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def built_libraries
|
def built_libraries
|
||||||
|
Loading…
x
Reference in New Issue
Block a user