Bundler could not find compatible versions for gem “activesupport”

后端 未结 4 1409
孤城傲影
孤城傲影 2021-01-17 17:08

I migrated to 3.2.13 version of rails and I am getting this error, how do I get rid of this?

Fetching gem metadata from https://rubygems.org/.......
Fetching         


        
4条回答
  •  囚心锁ツ
    2021-01-17 17:41

    For anyone who accidently comes to this link (at the time google served this page first); check out this post Bundler could not find compatible versions for gem, updating Rails app

    My steps were run

    gem update rails
    
    rm Gemfile.lock
    

    change my Gemfile to reference the version of rails i wanted

    gem 'rails', '3.2.13'
    

    finally run

    bundle install 
    

    I didn't try bundle update as @PistachioPony suggested but that might take the place of removing the lock file and rebuilding.

提交回复
热议问题