Bundler cannot find a version of a gem, but gem install with the same name works

前端 未结 2 1135
花落未央
花落未央 2021-02-07 01:31

I\'ve created a gem, and for some reason this one keeps bugging me, and refuses to install properly through bundler.

Here\'s the Gemfile:

source         


        
2条回答
  •  不思量自难忘°
    2021-02-07 01:52

    And after a whole day of googling I found this status update from Dec 12: http://twitter.com/rubygems_status/status/279019743166476288

    bundle install --full-index
    

    Seems to get the index directly from rubygems instead of from a cloudfront cache.

    I had a look at the index, and there is quite a diffence in the two indexes, so if you just released a gem or use a newly released gem, you might have to add --full-index in order to get the proper index.

提交回复
热议问题