Skip to content

Commit

Permalink
Fix for Gem.path returning Gem::FS objects in Rubygems >= 1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
indirect committed Apr 30, 2011
1 parent a905ed9 commit 41f2099
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/bundler/rubygems_integration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ def user_home
end

def gem_path
Gem.path
# Convert Gem::FS from Rubygems >= 1.8 into strings
Gem.path.map{|p| p.to_s }
end

def marshal_spec_dir
Expand Down

0 comments on commit 41f2099

Please sign in to comment.