From: Josh Cheek Date: 2013-06-13T06:08:37+09:00 Subject: Re: Error trying to download Ruby Gems on Windows --f46d0447858f90ff5804defb6ad4 Content-Type: text/plain; charset=ISO-8859-1 On Wed, Jun 12, 2013 at 3:05 PM, Tyler Z. wrote: > I'm trying to download gems and every time I do I get this error: > > C:\Ruby187\rubygems-1.2.0>gem install rake > ERROR: could not find gem rake locally or in a repository > > I have been messing with it for two days now trying to find a solution > and I can't. Can anyone help? > > here is my gem env > > RubyGems Environment: > - RUBYGEMS VERSION: 1.2.0 > - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32] > - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8 > - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe > - EXECUTABLE DIRECTORY: C:/Ruby187/bin > - RUBYGEMS PLATFORMS: > - ruby > - x86-mswin32-60 > - GEM PATHS: > - C:/Ruby187/lib/ruby/gems/1.8 > - GEM CONFIGURATION: > - :update_sources => true > - :verbose => true > - :benchmark => false > - :backtrace => false > - :bulk_threshold => 1000 > - REMOTE SOURCES: > - http://gems.rubyforge.org/ > > -- > Posted via http://www.ruby-forum.com/. > > Probably remote sources (your ruby and rubygems are both old), does it work if you do `gem sources --add http://rubygems.org/` ? --f46d0447858f90ff5804defb6ad4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Jun 12, 2013 at 3:05 PM, Tyler Z. <lists@ruby-forum.com>= wrote:
I'm trying to download gems and every time I do I get this error:

C:\Ruby187\rubygems-1.2.0>gem install rake
ERROR: =A0could not find gem rake locally or in a repository

I have been messing with it for two days now trying to find a solution
and I can't. Can anyone help?

here is my gem env

RubyGems Environment:
=A0 - RUBYGEMS VERSION: 1.2.0
=A0 - RUBY VERSION: 1.8.7 (2008-08-11 patchlevel 72) [i386-mswin32]
=A0 - INSTALLATION DIRECTORY: C:/Ruby187/lib/ruby/gems/1.8
=A0 - RUBY EXECUTABLE: C:/Ruby187/bin/ruby.exe
=A0 - EXECUTABLE DIRECTORY: C:/Ruby187/bin
=A0 - RUBYGEMS PLATFORMS:
=A0 =A0 - ruby
=A0 =A0 - x86-mswin32-60
=A0 - GEM PATHS:
=A0 =A0 =A0- C:/Ruby187/lib/ruby/gems/1.8
=A0 - GEM CONFIGURATION:
=A0 =A0 =A0- :update_sources =3D> true
=A0 =A0 =A0- :verbose =3D> true
=A0 =A0 =A0- :benchmark =3D> false
=A0 =A0 =A0- :backtrace =3D> false
=A0 =A0 =A0- :bulk_threshold =3D> 1000
=A0 - REMOTE SOURCES:
=A0 =A0 =A0- http:= //gems.rubyforge.org/

--
Posted via http://= www.ruby-forum.com/.


Probably remote sources (your rub= y and rubygems are both old), does it work if you do `gem sources --add=A0<= a href=3D"http://rubygems.org/`">http://rubygems.org/` ?



--f46d0447858f90ff5804defb6ad4--