Cannot install Rails

Charlie Kim's Avatar

Charlie Kim

24 Jan, 2011 04:06 PM

ERROR: 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?

  1. 1 Posted by Charlie Kim on 24 Jan, 2011 04:07 PM

    Charlie Kim's Avatar

    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:

    - ruby
    - x86-mingw32
    • GEM PATHS:
      • C:/Ruby192/lib/ruby/gems/1.9.1
      • C:/Documents and Settings/kimchar/.gem/ruby/1.9.1
      • :update_sources => true
      • :verbose => true
      • :benchmark => false
      • :backtrace => false
      • :bulk_threshold => 1000
  2. 2 Posted by Luis Lavena on 24 Jan, 2011 04:13 PM

    Luis Lavena's Avatar

    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/

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac