I am new to ruby and rails. I have been working through a few tutorials
trying to get up to speed.
However I have run into one issue I’m unsure how to go about solving. I
using RVM to manage my ruby verions. By default I have 1.8.7 installed
my system(Ubuntu man, but I am on Linux Mint Maya).
With my latest project however I am using 1.9.3(with rails 3.2.11).
Everything works great and I very happy, but when I try run “rails c” or
“rails console” I get the following error…
require': cannot load such file -- readline (LoadError) from /home/phil/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/irb/completion.rb:9:in<top (required)>’
require' from /home/phil/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/commands/console.rb:3:in<top (required)>’
require' from /home/phil/.rvm/gems/ruby-1.9.3-p392/gems/railties-3.2.11/lib/rails/commands.rb:38:in<top (required)>’
require' from script/rails:6:in’
So as a result I am unable to use the console at all on this project. If
anybody had any clue on how to solve this I would be most grateful!
ps when I run “rvm use 1.9.3” it returns…