What's Joe doing now (Answer: Ruby on Rails Dev on his Ubuntu Box)??

As you may have noticed, Ryan's here and he's answering the bulk of the support questions. This is because I'm doing more special client project work these days instead of replying to posts. I still read the support box, and I still try to answer as many as I can, but I'm definitely answering far less than I used to.

Although, now I'm a relatively new convert to Ruby on Rails. Not only that, but I now get to do work on my Ubuntu systems, so I get to blog about Ubuntu and Rails! Yay!

Doing Ruby on Rails Dev on Ubuntu seems far easier in many respects to doing it on Windows. (I haven't played around with TextMate on Mac because I don't have one) but many of the tools are familiar. They just have some gotchas. I decided that since I haven't blogged in a while, I'll blog about this before scrum starts:

The main IDE that I use for everything is Eclipse. I install on it Subclipse, RadRails and Aptana. The thing is that on Fiesty Fawn, RadRails won't work out of the box. What you need to do in this case is install the Sun Java JVM, and set the /etc/eclipse/java_home on your desktop to point to /usr/lib/jvm/java-1.5.0-sun. java-gjc just doesn't cut it for RadRails.

Once that's done, you should be ready to rock for Eclipse. However, there's a couple more gotchas. You should make sure that you install ALL your Ruby and Rails packages for Ubuntu, otherwise you'll get some weird stuff. Googling a bit will help you, but you should at least have the irb installed, libopenssl-ruby, libreadline-ruby, libredcloth, librmagick-ruby, libruby, rake, rdoc, and of course ruby installed. I use the gem version of Rails, because I want the latest and greatest rails, and I compile gem and install gem from source.

All in all, things should be good for getting rails going. I'll have more Ubuntu, Ruby and Rails gotchas in here soon.

PS: If you have problems installing CUI under Linux, please let me know what distro you are running, and I'll try to help you out and get you hooked up!