Robert.Wendes-oHVLHoJ3959hl2p70BpVqQ@public.gmane.org
2005-Jun-10 13:47 UTC
Trouble getting off the starting blocks with ruby on rails
Hi,
Using http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html
I downloaded ruby 1.8.2, using the One-Click Ruby Installer for Windows .
I installed Ruby on Rails with
gem install rails --remote
Installed the database.
changed to
c:\rails
and entered
C:\rails>rails cookbook
c:/ruby/bin/rails:9:in `require'': No such file to load -- rubygems
(LoadError)
from c:/ruby/bin/rails:9
C:\rails>
I did''t know what''s happening
So I entered
C:\rails>gem environment
C:\rails>"c:\ruby\bin\ruby.exe" "c:\ruby\bin\gem"
environment
Rubygems Environment:
- VERSION: 0.8.10 (0.8.10)
- INSTALLATION DIRECTORY: c:/ruby/lib/ruby/gems/1.8
- GEM PATH:
- c:/ruby/lib/ruby/gems/1.8
- REMOTE SOURCES:
- http://gems.rubyforge.org
C:\rails>
When I looked through the directories I found that rubygems.rb
was at
C:\ruby\lib\ruby\site_ruby
I tried altering GEM_PATH, but I guess its being overridden somewhere,
because the error message didn''t change
Platform Window Xp sp2
kind regards
Rob Wendes
SITA Passenger Travel Solutions
Tel: +44 (0) 1483 521 279
Fax: +44 (0) 1483 414122
Email: Robert.Wendes-E9lY/NfD6i5hl2p70BpVqQ@public.gmane.org
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, please notify us immediately and
delete it from your system. Any review, retransmission, dissemination or
other use of, or taking of any action in reliance upon this information by
persons or entities other than the intended recipient is prohibited. The
views and opinions expressed in this e-mail message are the author''s
own
and may not reflect the views and opinions of SITA.