|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Suddenly, nothing ruby works
Hello,
I had successfully installed ruby and built some applications which were working beautifully and suddenly when I went back to start up some of the applications, I went to the pages and recieved the error of "application failed (ruby). I then restarted my computer and tried to start Webrick server and now I get "recognized as an internal or external command" on all ruby or rails command line calls IE: C:\>rails "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\ruby_app _3" yeilds this: 'rails' is not recognized as an internal or external command, operable program or batch file. C:\>ruby "C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\myfirstap p\script\server" Yeilds this: 'ruby' is not recognized as an internal or external command, operable program or batch file. I then went and reinstalled ruby and the same thing happens. HEEEEEEEELLLLLLP!!!!! |
|
#2
|
|||
|
|||
|
Make sure the ruby binaries are in the environment PATH variable. It probably got modified somehow, which is why you can't call it directly from the CLI.
|
|
#3
|
|||
|
|||
|
Yup - that's what it was - Somehow - my path variable got waxed.
Really strange - maybe it was a software update clash -dunno. It's fixed now after I manually appended the ruby c:/ruby/bin to the Path variable. Thanks again! |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Ruby Programming > Suddenly, nothing ruby works |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|