简体   繁体   English

Rails安装错误-找不到gem jquery-rails

[英]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.

相关问题 在这台机器上可用的宝石中找不到宝石&#39;jquery-rails(&gt; = 0)ruby&#39; - Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine 在您的Gemfile中列出的任何宝石来源中找不到宝石&#39;jquery-rails(&gt; = 0)ruby&#39; - Could not find gem 'jquery-rails (>= 0) ruby' in any of the gem sources listed in your Gemfile 在这台机器上可用的宝石中找不到宝石&#39;jquery-rails(= 2.0.0)ruby&#39; - Could not find gem 'jquery-rails (= 2.0.0) ruby' in the gems available on this machine 在这台机器上可用的宝石中找不到宝石&#39;jquery-rails(〜&gt; 1.1.6)ruby&#39; - Could not find gem 'jquery-rails (~> 1.1.6) ruby' in the gems available on this machine 在Gemfile中列出的任何gem资源中找不到gem&#39;jquery-rails(&gt; = 0,运行时)&#39;。 尝试启动Rails服务器 - Could not find gem 'jquery-rails (>= 0, runtime)' in any of the gem sources listed in your Gemfile. Trying to start rails server 在rails引擎中找不到jquery-ui(jquery-rails gem) - Can't find jquery-ui in rails engine (jquery-rails gem) Rails 3 项目,安装了 jquery-rails gem,但得到“Ajax 未定义” - Rails 3 project, installed jquery-rails gem, but getting “Ajax is not defined” jQuery-Rails还是jRails? - jQuery-Rails or jRails? 捆绑jquery-rails失败并出错? - Bundling jquery-rails fails with error? jQuery不适用于jquery-rails gem - Jquery doesn't work with jquery-rails gem
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM