[英]Rails installation Error - could not find gem jquery-rails
I am trying to install rails on my office's system. 我正在尝试在办公室的系统上安装滑轨。
I have installed rails using link http://railsinstaller.org/ 我已经使用链接http://railsinstaller.org/安装了rails
Then I created new proj using command![enter image description here][1] 'rails new temp' 然后,我使用命令创建了新项目![在此处输入图片描述] [1]'rails new temp'
It throws error: 它引发错误:
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.
Is it anything to do with proxy firewall, or am i missing any steps? 与代理防火墙有关吗,或者我错过了任何步骤?
Pls reply soon. 请尽快回复。 Thanks 谢谢
Go to your apps directory and fine Gemfile. 转到您的应用目录,然后选择Gemfile。
In your Gemfile check if you have gem 'jquery-rails'
在您的Gemfile中检查是否有gem'jquery gem 'jquery-rails'
If not type that into the editor and save it and then run bundle install
如果没有,请在编辑器中输入并保存,然后运行bundle install
If the gem 'jquery-rails' is mentioned in your gem file and then you are installing the gems via bundle install and getting this error , Then it is a proxy firewall that will block you from reaching repository. 如果您的gem文件中提到了gem'jquery-rails',那么您将通过bundle install安装gem并收到此错误消息,那么这是一个代理防火墙,它将阻止您访问存储库。 Same experience i faced via Windows Command prompt. 通过Windows命令提示符我遇到了同样的经历。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.