From Issue #137September 2005
If you looking to give Rails a try on linux, checkout my tutorial on Installing Ruby on Rails with Lighttpd and MySQL on Fedora Core 4
Is the weird indenting in the CGI example intentional?
A few python pals looked at that and immediately thought it might be some Ruby-ism. I showed them an example like this to clear up the confusion:
nevermind, linuxjournal doesn't allow a pre tag so my indenting doesn't stay in the comment. I'd prefer not confuse anyone else. :-)
indents in ruby are 2 spaces...if you want the community to like you.
Thanks for the quick intro, it's a good starting point for server-side Java developers. I'm looking forward to the Rails article.
One thing though: how about a look into the Ruby debugging environment. What tools/approaches do I use to debug complex server-side Ruby applications? I hope the answer is not "use print statements" ... effectively taking us back to the Dark Ages of programming. I like the idea of object-oriented scripting, but do not like the idea of _not_ having tools as powerful as say, the Eclipse or Netbeans debuggers for my work.
There is a very nice plugin for eclipse I use.
Use the Eclipse Update Manager with this URL:
There is a Test::Unit included.
Thats what you need (if I understood you right).
RoR has a console for debugging purposes which allows you to directly interact with your development model.