I am getting the following error:
$script/console Loading development environment (Rails 2.2.2) /opt/ruby-enterprise-1.8.6-20080709/lib/ruby/1.8/irb/completi
Add the following line to your Gemfile and run bundle update
bundle update
gem 'rb-readline'
credits to similar question/answer at install ruby 1.9.3 using rvm on ubuntu