diff options
author | Andre Arko <andre@arko.net> | 2013-01-12 00:30:38 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-09-28 12:52:24 -0700 |
commit | 5efd1c5f7e2e6a8baa80c1284579b561b63a912e (patch) | |
tree | dbb012db855731234dd1047a8deb6a9481a2197d /lib/bundler.rb | |
parent | e82fde44e9d0a73efd1c88689210c7437673c82c (diff) | |
download | bundler-5efd1c5f7e2e6a8baa80c1284579b561b63a912e.tar.gz |
extract into Bundler.ruby_version
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r-- | lib/bundler.rb | 4 |
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) |