The syntax of Ruby has been fairly stable since Ruby 1.0, but new features are added every now and then. So, the books and the online documentation can get behind.
If you have a problem, feel free to ask in the mailing list (see the Mailing Lists page). Generally you’ll get timely answers from Matz himself, the author of the language, from other gurus, and from those who have solved problems similar to your own.
Please include the output of ruby -v
along with any problematic source code.
If you have a problem using irb
, be aware that it has some limitations. Try the script using irb --single-irb
, or directly using the ruby
command.
There might be similar questions in the mailing list, and it is good netiquette to read through recent mails (RFC1855:3.1.1, 3.1.2) before asking. But do ask on the list, and a correct answer will be forthcoming.
Leave a Reply