Fix gemspec only case
This commit is contained in:
parent
07a8f09b9f
commit
fc56b96b09
@ -708,9 +708,14 @@ module RbInstall
|
||||
prefix = @base_dir
|
||||
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)
|
||||
end
|
||||
if libs.empty?
|
||||
[File.basename(@gemspec, '.gemspec') + '.rb']
|
||||
else
|
||||
libs
|
||||
end
|
||||
end
|
||||
|
||||
def built_libraries
|
||||
|
Loading…
x
Reference in New Issue
Block a user