Ruby on Rails with Hardy Heron
Posted by Ryan Baxter Sat, 26 Apr 2008 21:20:00 GMT
This Thursday, Canonical released Ubuntu, Hardy Heron, into the wild. Like many others, I immediately fired up a torrent and began downloading. From what I read of the aftermath, many launch day downloaders were not as lucky. Most Torrent servers became immediately inaccessible due to Hardy Heron’s popular demand. It has been three days and the US update servers are still saturated. This happens every release and can only mean that Ubuntu’s userbase is steadily growing.
My installation went well, but with any new OS release comes problems and Hardy Heron was not an exception. I couldn’t connect to my NAS through Nautilus. None of my browser extensions worked and Ruby on Rails was MIA. I decided to fix Rails first. Here are the steps I took to install Ruby on Rails on Ubuntu, Hardy Heron.
sudo apt-get install rubyAt this point I could not install Ruby on Rails with RubyGems because of the following exception:
/usr/bin/gem:23: uninitialized constant Gem::GemRunner(NameError)I opened up the source file and edited the offending line.
sudo gedit /usr/bin/gemAdding require ‘rubygems/gem_runner’ to the source file,
require 'rubygems'
require 'rubygems/gem_runner'I was then able to update RubyGems
sudo gem install rubygems-updateand install Ruby on Rails and the Mongrel web server.
sudo gem install rails mongrelAt this point I had a working version of Rails on my installation of Ubuntu, Hardy Heron. To get back to work the only thing missing was the NetBeans Ruby IDE. If you haven’t tried NetBeans for your Ruby on Rails projects, I highly recommend it. It’s located in the repos and only takes a few plugins to have Rails support out of the box.
- Meta 3 trackbacks, no comments, permalink, rss, atom
The NetBeans Ruby IDE
Posted by Ryan Baxter Thu, 25 Oct 2007 14:26:00 GMT
Some time ago I wrote about my search for the perfect Ruby IDE. I understand that the criteria for perfect is different for everyone, but in my previous article I outlined the eleven features that best describe my perfect Ruby IDE. I will admit that I haven’t kept up with my analysis. Like everyone else, I have a lot of other things to do and evaluating a dozen IDEs takes a lot of time. Apologies aside – I have found an IDE that fits all of my expectations. My search might be over.
Roman Strobl’s recently published article, NetBeans: Ruby Developer’s New Best Friend, highlights the features and improvements of NetBeans’ efforts in the Ruby IDE arena. I’m consistently amazed by the quality of writing published by InfoQ and Strobl’s work is a fine example. I recommend reading his article and then downloading the NetBeans Ruby IDE to test drive it yourself.
NetBean’s Ruby IDE has the best code completion I’ve found in a Ruby IDE. It rivals Visual Studio on the .NET platform. The IDE is lightweight. At no point during my testing did it ever slow down. Its source control integration works well. The default font is easy on the eyes and compliments the Ruby syntax highlighting scheme. My favorite feature is the garbage collection button located in the upper right-hand corner of the application. Some developers might think the application poorly designed for needing this feature, but coming from Visual Studio, I applaud it.
The NetBean’s Ruby IDE is still in development, but the testing I’ve done hasn’t uncovered any issues worth mentioning. While working on one of my side projects I haven’t noticed any appreciable difference between the Windows and Linux versions. Have I mentioned yet that the NetBean’s Ruby IDE is free? I’ve found my new daily driver. Kudos NetBeans!
Download it here.
- Posted in Reviews
- Meta no comments, permalink, rss, atom
Free Ruby on Rails Book
Posted by Ryan Baxter Thu, 25 Oct 2007 13:51:00 GMT
Free? Yes, that’s right! A totally free Ruby on Rails book. Those fine fellows at Rails Envy mentioned it in episode #2 of the Rails Envy Podcast. What’s the catch? You only have 37 days from today to download this book. Do it now! Thanks to Patrick Lenz for writing the book and thanks to the guys at Rails Envy for making it known.
- Meta no comments, permalink, rss, atom
Older posts: 1 2

