Can someone please explain why I am see the following:
rails/uploadimage> ruby script/console
Loading development environment.
/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:inload_modules’
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:insetup’
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/local/bin/irb:13
Actually I’m on suse linux 10. I went ahead and installed the readline
library but I can’t get ruby to recognize it. I rebuilt ruby,
reinstalled gems, etc. What am I missing?
Actually I’m on suse linux 10. I went ahead and installed the readline
library but I can’t get ruby to recognize it. I rebuilt ruby,
reinstalled gems, etc. What am I missing?
Make sure you have the readline headers installed - for some odd reason
most Linuxes keep them in a separate package (‘readline-devel’ or
something
usually). Then go into the ext/readline subdirectory in the ruby source
tree
and make it manually.
Actually I’m on suse linux 10. I went ahead and installed the readline
library but I can’t get ruby to recognize it. I rebuilt ruby,
reinstalled gems, etc. What am I missing?
Make sure you have the readline headers installed - for some odd reason
most Linuxes keep them in a separate package (‘readline-devel’ or
something
usually). Then go into the ext/readline subdirectory in the ruby source
tree
and make it manually.
I’ve completely remade everything already.
I called configure so:
./configure --with-readline-dir=/usr/local