lib/bundler/rubygems_ext.rb in bundler-1.7.12 vs lib/bundler/rubygems_ext.rb in bundler-1.7.13
- old
+ new
@@ -21,10 +21,10 @@
alias_method :rg_full_gem_path, :full_gem_path
alias_method :rg_loaded_from, :loaded_from
def full_gem_path
source.respond_to?(:path) ?
- Pathname.new(loaded_from).dirname.expand_path(Bundler.root).to_s :
+ Pathname.new(loaded_from).dirname.expand_path(Bundler.root).to_s.untaint :
rg_full_gem_path
end
def loaded_from
relative_loaded_from ?