rails console errors on start “`require’: no such file to load — readline (LoadError)”
Wednesday, October 28th, 2009I was getting this:
Loading development environment (Rails 2.3.2)
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require’: no such file to load — readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require’
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules’
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `each’
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules’
from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup’
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/local/bin/irb:13
Whenever I tried to use the console. Some helpfull google searching got me this:
http://dirk.net/2009/04/05/no-such-file-to-load-readline-loaderror-when-running-scriptconsole/
Which worked wonders.
I also caught that I pretty much stick everything I’ve added to my work comp in my home directory. I have no time for basic organization apparently.