Can't install gems (Windows)

That ‘someone’ is me, so I’m pretty aware of that release and its
limitations :slight_smile:

Somehow, I knew that someone might have been you as soon as I posted
that this morning. :slight_smile:

You are everywhere!

God bless you though. You are really a god send to this community.

Take care mate.

Hi,
I have installed ruby and trying to set rails environment.

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

gem environment
RubyGems Environment:

  • VERSION: 0.9.4 (0.9.4)
  • INSTALLATION DIRECTORY: C:/Ruby/lib/ruby/gems/1.8
  • GEM PATH:
    • C:/Ruby/lib/ruby/gems/1.8
  • REMOTE SOURCES:

gem install rails --include-dependencies
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository

I tried downloading the gem locally , still the same error

gem update --system
Updating RubyGems…
Attempting remote update of rubygems-update
ERROR: While executing gem … (Gem::InstallError)
rubygems-update requires builder >= 0

I could’nt install any gems.

gem list
*** LOCAL GEMS ***

fxri (0.3.6)
fxruby (1.6.12)
hpricot (0.6)
log4r (1.0.5)
rake (0.7.3)
sources (0.0.1)
win32-api (1.0.4)
win32-clipboard (0.4.3)
win32-dir (0.3.2)
win32-eventlog (0.4.6)
win32-file (0.5.4)
win32-file-stat (1.2.7)
win32-process (0.5.3)
win32-sapi (0.1.4)
win32-sound (0.4.1)
windows-api (0.2.0)
windows-pr (0.7.2)

I would like to know the procedure for setting up the rails
environment.

Thanks in advance
Senling

On Thu, Jan 28, 2010 at 11:55 PM, senling [email protected] wrote:

Hi,
I have installed ruby and trying to set rails environment.

ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

I would recommend you use the newer rubyinstaller package.

http://rubyinstaller.org/download.html

I would like to know the procedure for setting up the rails
environment.

http://blog.mmediasys.com/2009/07/06/getting-started-with-rails-and-sqlite3/

or:

http://blog.mmediasys.com/2009/07/06/getting-started-with-rails-and-mysql/

Gordon