Bundle Install could not fetch specs from https://rubygems.org/

前端 未结 14 2120
抹茶落季
抹茶落季 2021-02-01 13:20

I\'m attempting to follow the Hartl Rails Tutorial, and having trouble with the bundler gem.

When using the commands \'bundle install\' or \'bundle update\' I get the fo

相关标签:
14条回答
  • 2021-02-01 14:17

    I had the same issue. The only working solution I found was to force http instead of https in Gemfile:

    source 'http://rubygems.org'
    
    0 讨论(0)
  • 2021-02-01 14:17

    I had this issue while working in Cloud 9. After trying several 'bundle install' and sending an email to c9 support(no reply) I was able to get it working by killing all the processes and doing a hard-restart of the IDE.

    Do this by clicking directly on the little bar-graphs at the top of the right-hand side that show CPU, Memory, Disk. Then click on the process list, select them all, and force kill. Then exit out of the process list. Click on the bar-graphs again, and this time click 'Restart'.

    After this I was able to run bundle with no problems.

    0 讨论(0)
提交回复
热议问题