13 messages over 2 pages: 1 2
Sprachprofi Nonaglot Senior Member Germany learnlangs.comRegistered users can see my Skype Name Joined 6471 days ago 2608 posts - 4866 votes Speaks: German*, English, French, Esperanto, Greek, Mandarin, Latin, Dutch, Italian Studies: Spanish, Arabic (Written), Swahili, Indonesian, Japanese, Modern Hebrew, Portuguese
| Message 9 of 13 30 December 2013 at 6:07pm | IP Logged |
Windows has a bad habit of closing ruby programs before you can see the output. The larger scripts should
run okay because they require user input, but the smaller ones are just commandline utilities. To use them,
open a command prompt and type "ruby alphabetize.rb notes.txt" (to alphabetize the contents of notes.txt) or
whatever script you want.
2 persons have voted this message useful
| pab Diglot Newbie Poland Joined 4197 days ago 8 posts - 11 votes Speaks: Polish*, English Studies: French
| Message 10 of 13 13 January 2014 at 12:50am | IP Logged |
Sprachprofi, command prompt says 'ruby can't be recognized' even though I installed Ruby
1.9.3-p484. I'd be really grateful for any advice :)
1 person has voted this message useful
| Sprachprofi Nonaglot Senior Member Germany learnlangs.comRegistered users can see my Skype Name Joined 6471 days ago 2608 posts - 4866 votes Speaks: German*, English, French, Esperanto, Greek, Mandarin, Latin, Dutch, Italian Studies: Spanish, Arabic (Written), Swahili, Indonesian, Japanese, Modern Hebrew, Portuguese
| Message 11 of 13 13 January 2014 at 10:46am | IP Logged |
What happens if you type "ruby -v"?
Which version of Windows do you have?
1 person has voted this message useful
| pab Diglot Newbie Poland Joined 4197 days ago 8 posts - 11 votes Speaks: Polish*, English Studies: French
| Message 12 of 13 13 January 2014 at 9:22pm | IP Logged |
It says: "ruby is not recognized as an internal or external command".
I have Windows Vista.
1 person has voted this message useful
| Sprachprofi Nonaglot Senior Member Germany learnlangs.comRegistered users can see my Skype Name Joined 6471 days ago 2608 posts - 4866 votes Speaks: German*, English, French, Esperanto, Greek, Mandarin, Latin, Dutch, Italian Studies: Spanish, Arabic (Written), Swahili, Indonesian, Japanese, Modern Hebrew, Portuguese
| Message 13 of 13 13 January 2014 at 9:58pm | IP Logged |
Okay, this means that Ruby wasn't added to your PATH - in other words, you can only
access ruby.exe when you're in the Ruby folder, but you need to make it so that you can
access ruby from anywhere. Normally this is something that automatically happens during
installation; I'm not sure why it didn't.
Here are the instructions for adding Ruby to your PATH:
http://stackoverflow.com/questions/181038/ruby-on-vista
2 persons have voted this message useful
|
This discussion contains 13 messages over 2 pages: << Prev 1 2 If you wish to post a reply to this topic you must first login. If you are not already registered you must first register
You cannot post new topics in this forum - You cannot reply to topics in this forum - You cannot delete your posts in this forum You cannot edit your posts in this forum - You cannot create polls in this forum - You cannot vote in polls in this forum
This page was generated in 0.3047 seconds.
DHTML Menu By Milonic JavaScript
|