can't get gemfile to allow for bundle update

前端 未结 3 1613
情歌与酒
情歌与酒 2021-01-25 13:26

I\'m a ruby/rails newbie.

Here is my gemfile:

source \'https://rubygems.org\'
ruby \'2.0.0\'
#ruby-gemset=railstutorial_rails_4_0

gem \'rails\', \'4.0.0         


        
3条回答
  •  灰色年华
    2021-01-25 13:40

    You should update the following line in your Gemfile:

    gem 'rails', '4.0.0'
    

    to

    gem 'rails', '~> 4.0.0'
    

    and then run bundle update.

提交回复
热议问题