0

我正在尝试在我办公室的系统上安装 rails。
我已经使用链接http://railsinstaller.org/
安装了 rails 然后我使用命令创建了新项目![在此处输入图像描述][1] 'rails new temp'

它抛出错误:

Fetching source index for https://rubygems.org/
could not reach rubygems repository https://rubygems.org/
could not find gem 'jquery-rails <>= 0> x86-mingw32' in any of the gem sources listed in your gemfile.

这与代理防火墙有什么关系,还是我错过了任何步骤?

请尽快回复。谢谢

4

2 回答 2

0

如果您的 gem 文件中提到了 gem 'jquery-rails',然后您通过 bundle install 安装 gems 并收到此错误,那么它是一个代理防火墙,将阻止您访问存储库。我通过 Windows 命令提示符遇到的相同体验。

于 2013-01-26T04:51:15.170 回答
0

转到您的应用程序目录并完善 Gemfile。

在您的 Gemfile 中检查您是否有gem 'jquery-rails'

如果没有在编辑器中输入并保存然后运行bundle install

于 2013-01-25T20:40:24.270 回答