summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-03-31 17:48:19 +0800
committerAndre Arko <andre@arko.net>2014-03-31 17:48:19 +0800
commit76fa37889c2e26ad37ea5458f566a389cb4456ab (patch)
tree5c47cf60cf9f39eb7b1fbc4e00a60eddb5f10253 /lib
parentd78912e63ff013f358e56bf0282a9d8da6057442 (diff)
downloadbundler-76fa37889c2e26ad37ea5458f566a389cb4456ab.tar.gz
move ConfigMap into RubygemsIntegration
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler.rb2
-rw-r--r--lib/bundler/rubygems_integration.rb4
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index 7237fdaa9a..620f2e6b23 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -165,7 +165,7 @@ module Bundler
end
def ruby_scope
- "#{Bundler.rubygems.ruby_engine}/#{Gem::ConfigMap[:ruby_version]}"
+ "#{Bundler.rubygems.ruby_engine}/#{Bundler.rubygems.config_map[:ruby_version]}"
end
def user_bundle_path
diff --git a/lib/bundler/rubygems_integration.rb b/lib/bundler/rubygems_integration.rb
index ccd09c3f8c..6f27efb455 100644
--- a/lib/bundler/rubygems_integration.rb
+++ b/lib/bundler/rubygems_integration.rb
@@ -105,6 +105,10 @@ module Bundler
Gem::MARSHAL_SPEC_DIR
end
+ def config_map
+ Gem::ConfigMap
+ end
+
def clear_paths
Gem.clear_paths
end