Problem installimg gems in windows 7

Bernard Banta's Avatar

Bernard Banta

12 Apr, 2011 03:27 PM

hey guy i need help in installing gems in windows 7.

i get the following errors:

c:\Ruby\bin>gem 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

It also doesn't work with 'gem install rails --pre'

My versions are:

c:\Ruby\bin>ruby -v
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
c:\Ruby\bin>gem -v
1.3.7

My environment is:

RubyGems Environment:
- RUBYGEMS VERSION: 1.3.7 - RUBY VERSION: 1.9.2 (2010-08-18 patchlevel 0) [i386-mingw32] - INSTALLATION DIRECTORY: c:/Ruby/lib/ruby/gems/1.9.1 - RUBY EXECUTABLE: c:/Ruby/bin/ruby.exe - EXECUTABLE DIRECTORY: c:/Ruby/bin - RUBYGEMS PLATFORMS:

- ruby
- x86-mingw32
  • GEM PATHS:
    • c:/Ruby/lib/ruby/gems/1.9.1
    • C:/Users/Banta/.gem/ruby/1.9.1
  • GEM CONFIGURATION:
    • :update_sources => true
    • :verbose => true
    • :benchmark => false
    • :backtrace => false
    • :bulk_threshold => 1000
  • REMOTE SOURCES:
  1. Support Staff 1 Posted by Luis Lavena on 12 Apr, 2011 03:36 PM

    Luis Lavena's Avatar

    Hello,

    Check if you're behind a proxy/firewall and use --http-proxy option accordingly.

    This has been answered before:

    http://help.rubygems.org/discussions/problems/491-trouble-installin...

  2. Luis Lavena closed this discussion on 12 Apr, 2011 03:36 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? 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