Ruby on rails 捆绑安装错误w在任何源中查找i18n-0.5.0

Ruby on rails 捆绑安装错误w在任何源中查找i18n-0.5.0,ruby-on-rails,ruby-on-rails-3,Ruby On Rails,Ruby On Rails 3,我正在尝试让一个friends项目运行我从heroku获得了代码,然后运行bundle安装,然后运行rake db:migrate: $ bundle install Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find i18n-0.5.0 in any of the sources 但它不起作用。想法 Cou

我正在尝试让一个friends项目运行我从heroku获得了代码,然后运行bundle安装,然后运行rake db:migrate:

$ bundle install
Fetching source index for http://rubygems.org/
Could not reach rubygems repository http://rubygems.org/
Could not find i18n-0.5.0 in any of the sources
但它不起作用。想法

Could not reach rubygems repository http://rubygems.org/
如果您在连接rubygems.org时遇到问题,bundler将无法获得您所需的宝石。很有可能你没有其他来源,它正试图从中获取宝石,所以你得到了它找不到的错误

验证您是否可以访问rubygems.org,并排除bundler无法访问它的原因。您可能有一个阻止连接的网络块

顺便说一句,如果您尝试:

$ gem install i18n

如果您遇到相同的错误,您的计算机将阻止您访问rubygems存储库。

我可以在浏览器中通过ping在终端$gem安装i18n中点击rubygems.org w/o问题错误:似乎不是存储库错误:找不到有效的gem“i18n”(>=0)在任何情况下,您的rubygems设置中似乎存在错误。你有什么版本的宝石?$宝石版