lib/bundler/rubygems_ext.rb in bundler-0.9.23 vs lib/bundler/rubygems_ext.rb in bundler-0.9.24

- old
+ new

@@ -8,10 +8,16 @@ class Specification attr_accessor :source, :location def load_paths - require_paths.map {|p| File.join(full_gem_path, p) } + require_paths.map do |require_path| + if require_path.include?(full_gem_path) + require_path + else + File.join(full_gem_path, require_path) + end + end end def groups @groups ||= [] end