summaryrefslogtreecommitdiff
path: root/lib/bundler/dependency.rb
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-11-16 10:39:49 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2011-11-16 10:39:49 -0800
commitdcfb640c2c78671a90ab10ce4c8d98a157ad975c (patch)
tree238caf12db856b70eab9f16687ca92dd0c9e50c8 /lib/bundler/dependency.rb
parentc076283858aa5df9ef87b9ea06ebab60b1d12927 (diff)
downloadbundler-dcfb640c2c78671a90ab10ce4c8d98a157ad975c.tar.gz
Ruby 2.0 (trunk ruby) is not Ruby 1.9
Diffstat (limited to 'lib/bundler/dependency.rb')
-rw-r--r--lib/bundler/dependency.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/dependency.rb b/lib/bundler/dependency.rb
index 453d568e58..995b945af4 100644
--- a/lib/bundler/dependency.rb
+++ b/lib/bundler/dependency.rb
@@ -87,7 +87,7 @@ module Bundler
end
def ruby_19?
- ruby? && RUBY_VERSION >= "1.9"
+ ruby? && RUBY_VERSION >= "1.9" && RUBY_VERSION < "2.0"
end
def mri?
@@ -99,7 +99,7 @@ module Bundler
end
def mri_19?
- mri? && RUBY_VERSION >= "1.9"
+ mri? && RUBY_VERSION >= "1.9" && RUBY_VERSION < "2.0"
end
def rbx?