Ruby script/console fails to launch

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

rails/uploadimage>

Thanks,
Doug

Douglass T. wrote:

from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules’
Doug

Are you on a mac? It looks like you are missing readline. Check out

Matthew M.
blog.mattmargolis.net

Matthew M. wrote:

Douglass T. wrote:

from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules’
Doug

Are you on a mac? It looks like you are missing readline. Check out
Dan Benjamin

Matthew M.
blog.mattmargolis.net

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?

-Doug

On 17/06/06, Douglass T. [email protected] wrote:

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.

Dick D. wrote:

On 17/06/06, Douglass T. [email protected] wrote:

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

Ruby is still refusing to believe I have:

/usr/local/lib/libreadline.so
/usr/local/include/readline/readline.h

By the way I just realized I already had:
/usr/lib/libreadline.so
/usr/include/readline/readline.h

What more need I do?

-Doug