diff options
author | JT Archie <jtarchie@gmail.com> | 2015-10-20 09:48:36 -0400 |
---|---|---|
committer | David Morhovich <dmorhovich@pivotal.io> | 2015-10-20 09:48:36 -0400 |
commit | b53dda5d06164e4016f1243d64c12fbb17b33770 (patch) | |
tree | d5f2bfa7f077cbc1573819a96c63931d9a8c0e64 /lib/bundler/ruby_dsl.rb | |
parent | 282930e09cc4bac1b0f53244d8ec4e9c8caaa197 (diff) | |
parent | 2c8dd13c5617e402caebc0c113abc53cf8f4df58 (diff) | |
download | bundler-b53dda5d06164e4016f1243d64c12fbb17b33770.tar.gz |
Merge remote-tracking branch 'version/master'
Signed-off-by: David Morhovich <dmorhovich@pivotal.io>
Diffstat (limited to 'lib/bundler/ruby_dsl.rb')
-rw-r--r-- | lib/bundler/ruby_dsl.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ruby_dsl.rb b/lib/bundler/ruby_dsl.rb index 46587e98..745fb191 100644 --- a/lib/bundler/ruby_dsl.rb +++ b/lib/bundler/ruby_dsl.rb @@ -5,7 +5,7 @@ module Bundler raise GemfileError, "Please define :engine" if options[:engine_version] && options[:engine].nil? raise GemfileEvalError, "ruby_version must match the :engine_version for MRI" if options[:engine] == "ruby" && options[:engine_version] && ruby_version != options[:engine_version] - @ruby_version = RubyVersion.new(ruby_version, options[:patchlevel], options[:engine], options[:engine_version]) + @ruby_version = RubyVersionRequirement.new(ruby_version, options[:patchlevel], options[:engine], options[:engine_version]) end end end |