Is there a fix for the “Could not find *gem* in any of the sources” error that doesn't involve deleting Gemfile.lock?

前端 未结 5 631
夕颜
夕颜 2021-02-05 02:39

I am trying to get my development environment setup on a new computer.

git clone -o heroku git@heroku.com:theirapp.git
cd theirapp
bundle
Fetching gem metadata f         


        
5条回答
  •  爱一瞬间的悲伤
    2021-02-05 03:23

    bundle update jquery-rails will update just the jquery-rails gem, which is likely what you're looking for. Running bundle update is the equivalent of deleting Gemfile.lock and is not recommended in most cases. See here: Heroku push rejected: can't find jquery-rails-2.0.0 in sources

提交回复
热议问题