Reputation: 96484
Just pulled latest code and now getting:
...my_app/Gemfile:2:in `evaluate':
undefined method `ruby' for #<Bundler::Dsl:0x007fc17c3fc6c8> (NoMethodError)
Upvotes: 1
Views: 1953
Reputation: 79733
The ruby
method that allows you to specify the version of Ruby your project should use was only added in Bundler 1.2. You’ve got a project with a Gemfile
that uses this new ruby
method, but have an old version of Bundler. You just need to get Bundler 1.2 with
gem install bundler
and you should be good to go.
Upvotes: 12