Skip to content

Commit

Permalink
Revert "Ruby 2.0 (trunk ruby) is not Ruby 1.9"
Browse files Browse the repository at this point in the history
As discussed in rubygems#1539 and rubygems#2056, Bundler uses platforms to distinguish Ruby ABI versions. That means the known (and ATM supported) use cases for the ruby_19 platform include Ruby 2.0.

This reverts commit dcfb640.
  • Loading branch information
indirect authored and hone committed Aug 30, 2012
1 parent e0c4451 commit 41e7cc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/bundler/dependency.rb
Expand Up @@ -87,7 +87,7 @@ def ruby_18?
end

def ruby_19?
ruby? && RUBY_VERSION >= "1.9" && RUBY_VERSION < "2.0"
ruby? && RUBY_VERSION >= "1.9"
end

def mri?
Expand All @@ -99,7 +99,7 @@ def mri_18?
end

def mri_19?
mri? && RUBY_VERSION >= "1.9" && RUBY_VERSION < "2.0"
mri? && RUBY_VERSION >= "1.9"
end

def rbx?
Expand Down

0 comments on commit 41e7cc2

Please sign in to comment.