diff options
author | Asutosh Palai <asupalai@gmail.com> | 2016-05-27 22:22:01 +0530 |
---|---|---|
committer | Asutosh Palai <asupalai@gmail.com> | 2016-05-27 22:22:01 +0530 |
commit | 98ac13665be713123d72d3bb23150b80cda5e0e3 (patch) | |
tree | c4a98cf28e1e42ff20a435f460eafb5205862dd9 /lib/bundler/rubygems_ext.rb | |
parent | 10c87cff76e2ec5a21d7b8978debfb19ea9e5ebb (diff) | |
download | bundler-98ac13665be713123d72d3bb23150b80cda5e0e3.tar.gz |
Fixed full_gem_path for older RGV
Diffstat (limited to 'lib/bundler/rubygems_ext.rb')
-rw-r--r-- | lib/bundler/rubygems_ext.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 67720645..3c54e126 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -22,6 +22,8 @@ module Gem alias_method :rg_full_gem_path, :full_gem_path alias_method :rg_loaded_from, :loaded_from + attr_writer :full_gem_path unless instance_methods.include?(:full_gem_path=) + def full_gem_path if source.respond_to?(:path) root = source.for_plugin? ? Bundler::Plugin.root : Bundler.root |