aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2013-01-12 00:30:38 -0800
committerAndre Arko <andre@arko.net>2013-09-28 12:52:24 -0700
commit5efd1c5f7e2e6a8baa80c1284579b561b63a912e (patch)
treedbb012db855731234dd1047a8deb6a9481a2197d /lib/bundler.rb
parente82fde44e9d0a73efd1c88689210c7437673c82c (diff)
downloadbundler-5efd1c5f7e2e6a8baa80c1284579b561b63a912e.tar.gz
extract into Bundler.ruby_version
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index a6481cf1..b537ed71 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -357,6 +357,10 @@ module Bundler
@git_present ||= Bundler.which("git")
end
+ def ruby_version
+ @ruby_version ||= SystemRubyVersion.new
+ end
+
private
def eval_yaml_gemspec(path, contents)