开发者

Error when creating new Rails project

开发者 https://www.devze.com 2023-04-04 01:45 出处:网络
I installed the Rails installer. Now I\'m trying to create a new Rails project. When I do C:\\Sites> rails new demoproj

I installed the Rails installer. Now I'm trying to create a new Rails project. When I do

C:\Sites> rails new demoproj

I get this error:

Fetching source index for http://rubygems.org/
Could not reach rubygems repository htt开发者_如何转开发p://rubygems.org/
Could not find gem 'turn (>= 0)' in any of the gem sources listed in your Gemfile.


I'm assuming you are installing rails over proxy. This maybe what you are looking for:

Add the given option to your gemrc file

gem: -p http//#{proxy-server}:#{port}

Creating a new rails 3 project over a proxy in windows


in a general way, that problem means you need to do a bundle install. no clue if its a windows specific issue though, there should be an automatic bundle after it creates the project.

0

精彩评论

暂无评论...
验证码 换一张
取 消