Skip to content

Commit

Permalink
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ruby/stdlib/rubygems/defaults/jruby.rb
Original file line number Diff line number Diff line change
@@ -92,10 +92,10 @@ def dirs= dirs

def spec_directories_from_classpath
stuff = [ 'uri:classloader://specifications' ]
# extra gem paths when a classloader gets added to the instance-config
JRuby.runtime.instance_config.extra_gem_paths.each do |path|
stuff << File.join(path, 'specifications')
end
stuff += JRuby::Util.classloader_resources('specifications')
# some classloader return directory info. use only the "protocols"
# which jruby understands
stuff.select { |s| File.directory?( s ) }

0 comments on commit bd45d9f

Please sign in to comment.