Your path doe not have correct entry "C:\ruby\bin"
I found this :
Re: how do you run ruby on windows
Posted by Michael Tomer (michael_tomer)
on 20.11.2008 17:15
Just in case you are having trouble with your Windows path variable,
here's how to add a folder to it:
*Go to your desktop and right click "My Computer".
*Select "properties" from the menu.
*Click the "Advanced" tab.
*At the bottom of the window, there's a button labeled "Environment
Variables". Click it.
*There are two listboxes on the window, the bottom one is called
"System
variables". Scroll through that box until you come across "Path".
Select
"Path" and click the "Edit" button.
*Click the "Variable value" textbox and hit the "End" key on your
keyboard. Type a semi-colon followed by the absolute path to your
ruby
bin folder.
Also, you can always check what folder IRB is running in by typing
"Dir.pwd". You can get a list of all the .rb file in the folder IRB
is
currently operating in with "Dir.glob('*.rb')". Also, you can change
the
path that IRB is operating in with "Dir.chdir('c:\my_ruby_files\')".
On Nov 29, 8:47 pm, Ideale Ideale <[EMAIL PROTECTED]>
wrote:
> Ideale Ideale wrote:
> > Davo wrote:
> >> What O/S are you on ?
> >> Has Gem been previously installed somehow ?
> >> gem update is only relevant if it has previously been installed.
> >> More info and I'm sure help will come !
> >> cheers Dave
>
> >> On Nov 30, 6:49 am, Ideale Ideale <[EMAIL PROTECTED]>
>
> > My OS is Windows ! and it says that it does not recognize the command
> > unless I go to c:/ruby/bin/
>
> > ???
>
> The CLASSPATH WAS :
> .;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip
>
> I CHANGED IT TO
> .;C:\Program Files\Java\jre1.6.0_07\lib\ext\QTJava.zip;C:\ruby\bin
>
> IS THAT OK ? :-) It does not work yet ? :-(
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---