[英]Error when creating new Rails project
我安裝了Rails安裝程序。 現在,我正在嘗試創建一個新的Rails項目。 當我做
C:\Sites> rails new demoproj
我收到此錯誤:
Fetching source index for http://rubygems.org/ Could not reach rubygems repository http://rubygems.org/ Could not find gem 'turn (>= 0)' in any of the gem sources listed in your Gemfile.
通常,該問題意味着您需要進行bundle install
。 如果這不是Windows的特定問題,則不知道,創建項目后應該有一個自動捆綁包。
我假設您正在通過代理安裝Rails。 這可能是您想要的:
將給定的選項添加到您的gemrc文件中
gem: -p http//#{proxy-server}:#{port}
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.