Cannot install Rails
ERROR: http://rubygems.org/
does not appear to be a repository
ERROR: Could not find a valid gem 'rails' (>= 0) in any
repository
What must I do to resolve this issue?
ERROR: http://rubygems.org/
does not appear to be a repository
ERROR: Could not find a valid gem 'rails' (>= 0) in any
repository
What must I do to resolve this issue?
2 Posted by Charlie Kim on 24 Jan, 2011 04:07 PM
Here is the gem env:
C:\Ruby192>gem env
RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-12-25 patchlevel 136) [i386-mingw32] - INSTALLATION DIRECTORY: C:/Ruby192/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: C:/Ruby192/bin/ruby.exe - EXECUTABLE DIRECTORY: C:/Ruby192/bin - RUBYGEMS PLATFORMS:
Support Staff 3 Posted by Luis Lavena on 24 Jan, 2011 04:13 PM
I guess you're behind a proxy/firewall
please see: "gem help install"
For instructions about using HTTP PROXY option:
gem install rails --http-proxy=http://user:pass@server:port/