bad command or filename
I have ruby and rubygems installed on my computer (windows millenium os). I am trying to install rails and when I use the command prompt to enter the command:
gem install rails
I get the "bad command or file name" response.
What am I doing wrong? I've tried going underneath the C:/ruby directory, the c:/ruby/lib dir, c:/ruby/bin dir, etc., nothing changes.
Also, the command "gem install rails --remote" also doesn't work.
CAn someone please point me in the right direction. For the life of me -- I've always been terrible at installing programs <sigh>/
I am not a windows user, so I can't give you a lot of advise, but the error is saying it does not know where to find the gem program. You either need to tell it explicitly or add the program to you path.
Incidentally, did you try this: http://rubyforge.org/projects/rubyinstaller/
Might not work on your OS though, since Windows ME is no longer supported (IIRC).
If you are on windows then by all means use the one-click installer. This will set up the environmental variables which will allow you to use "gem" and "ruby" and such from anywhere :)
Thanks for your responses,
I did use the one click installer.