Bundler could not find compatible versions for gem “railties” for Rails 4.0.0

后端 未结 6 1949
名媛妹妹
名媛妹妹 2020-12-29 01:37

I am trying to upgrade to Rails 4.0.0, and I changed the gem versions of sass-rails and coffee-rails. I need to resolve this gem conflict between <

6条回答
  •  轮回少年
    2020-12-29 02:01

    You have an outdated version of Devise, use Rails 4 compatible

    gem 'devise', '~> 3.0.0.rc'
    

    Also change coffee-rails to

    gem 'coffee-rails', '~> 4.0.0'
    

    and try doing

    bundle update coffee-rails
    

提交回复
热议问题