![](/img/trans.png)
[英]Could not find gem 'jquery-rails (>= 0) ruby' in the gems available on this machine
[英]Rails installation Error - could not find gem jquery-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.
與代理防火牆有關嗎,或者我錯過了任何步驟?
請盡快回復。 謝謝
轉到您的應用目錄,然后選擇Gemfile。
在您的Gemfile中檢查是否有gem'jquery gem 'jquery-rails'
如果沒有,請在編輯器中輸入並保存,然后運行bundle install
如果您的gem文件中提到了gem'jquery-rails',那么您將通過bundle install安裝gem並收到此錯誤消息,那么這是一個代理防火牆,它將阻止您訪問存儲庫。 通過Windows命令提示符我遇到了同樣的經歷。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.