delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

$ MKDIR RubyTestDir
$ CD RubyTestDir
$ ruby -cw test.rb

Any help at all would be great because I want to get moving with the code.
Thank you.


So I have used ruby before but it has been about a year, and for some reason this time I am having some issues. I installed Ruby and then FreeRide. I open the IRB to run a simple program that I made just to see that everythings working and it will not let me do anything without syntax errors in the IRB. this is all I tried to do.
Code:
  1. $ CD
  2. $ MKDIR RubyTestDir
  3. $ CD RubyTestDir
  4. $ ruby -cw test.rb
Copy Code
Any help at all would be great because I want to get moving with the code.
Thank you.

TOP

Several things:
What you posted is not an irb session.
If what you posted is intended to be a shell session of sorts, then you make a directory, enter that (empty) directory and try to interpret a file that is not there... I'm not sure I understand that.
You need to post a correct walkthrough of what you did (including error output) so that we may see what went wrong. From what you post, there is not enough information to even understand what error you are getting.

TOP

Im aware that, that is shell script. Which is something i was doing at the same time, sorry for not pasting the correct code in but i solved my problem..sorry



$ MKDIR RubyTestDir
$ CD RubyTestDir
$ ruby -cw test.rb

Any help at all would be great because I want to get moving with the code.
Thank you.

TOP

Back Forum