???
9/13/2007 12:54:00 AM
Hi Folks,
Nowdays I program ruby from windows to suse-linux 10.1, when I
compile the ruby source code and make && make install and then install
rails , I can't start a console. It reports me an error(and this occurs
both in ruby 1.8.5 and ruby 1.8.6 (2007-06-07 patchlevel 36)) :
> tim@linux-tim:~/workspace/test> ruby script/console
> Loading development environment.
> /usr/local/ruby/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
> from /usr/local/ruby/lib/ruby/1.8/irb/completion.rb:10
> from /usr/local/ruby/lib/ruby/1.8/irb/init.rb:252:in `require'
> from /usr/local/ruby/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
> from /usr/local/ruby/lib/ruby/1.8/irb/init.rb:250:in `each'
> from /usr/local/ruby/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
> from /usr/local/ruby/lib/ruby/1.8/irb/init.rb:21:in `setup'
> from /usr/local/ruby/lib/ruby/1.8/irb.rb:54:in `start'
> from /usr/local/ruby/bin/irb:13
I can't find a readline.rb in my system. Well, is it a ruby bug and anybody have ideas on solving this problem ?
Regards.
Tim