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

前端 未结 14 2418
抹茶落季
抹茶落季 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 13:52

    I had the same issue using ruby-2.0.0-p247 on OS X 10.8.5.

    Make sure the first line in Gemfile is using https://

    source 'https://rubygems.org'
    

    I reinstalled that version of ruby.

    rvm reinstall ruby-2.0.0
    

    Ruby was upgraded ruby-2.0.0-p598 (version depends on latest patch).

    bundle then worked without error although all the gems were reinstalled.

提交回复
热议问题