I installed Ruby and Ruby on Rails yesterday on Vista 32bit using the directions on this site: http://rubyonrails.org/down
So I downloaded the installer, then Gems, then I downloaded rails with Gems.
Now I can't use the Gem or Ruby commands in the command line... so I assume there's something wrong with the environment variables, but I hav eno idea how to set them up in Vista or what to put.
Can anyone help me with this?
To set up the environment variables, do this
Computer
and select Properties
Advanced system settings
in the left-hand bar, and confirm the UAC promptAdvanced
tab (it's 3rd)Environment Variables...
(at the bottom)User variables for XXX
) either find the entry for PATH
, or click new to create the entry.PATH
use semi-colons to seperate each directory listed in itc:\ruby\bin
(change if you installed ruby somewhere else) in.gem
and ruby
and irb
should now all work. Whoever said that GUI tools are slower than command line tools. pshaw!