bundle install
is giving:
> undefined method `ruby' for #<Bundler::Dsl:0x00000001c4e1f8>
Any idea how to fix? I'm using Ruby 1.9.3-p125.
Version 1.2 of Gembundler introduced a ruby
method to the dsl that allows you to specify the Ruby version your app should use.
It looks like the Gemfile
you’re using was written for this new version, but the version of bundler you have doesn’t support the ruby
method. You need to either install the latest bundler (gem install bundler
should do it) or remove the line from your Gemfile
.
Run these commands the problem will fix
step 1: install bundler
gem install bundler
step 2: bundle install
it will fix the issue..
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With