Cant seem to run rails console


#1

Hello,

I cant seem to run my console. I get the following error

~/workspace/testtube $ ./script/console
Loading development environment (Rails 2.2.2)
/usr/local/ruby_test/lib/ruby/site_ruby/1.8/i686-darwin9.6.0/
readline.bundle: dlopen(/usr/local/ruby_test/lib/ruby/site_ruby/1.8/
i686-darwin9.6.0/readline.bundle, 9): Symbol not found:
_rl_filename_completion_function (LoadError)
Referenced from: /usr/local/ruby_test/lib/ruby/site_ruby/1.8/i686-
darwin9.6.0/readline.bundle
Expected in: flat namespace

  • /usr/local/ruby_test/lib/ruby/site_ruby/1.8/i686-darwin9.6.0/
    readline.bundle
    from /usr/local/ruby_test/lib/ruby/1.8/irb/completion.rb:10
    from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:252:in require' from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:252:inload_modules’
    from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:250:in each' from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:250:inload_modules’
    from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:21:in setup' from /usr/local/ruby_test/lib/ruby/1.8/irb.rb:54:instart’
    from /usr/local/ruby_test/bin/irb:13
    ~/workspace/testtube $

Any ideas?


#2

On Sat, Feb 21, 2009 at 11:30 PM, Stewart
removed_email_address@domain.invalidwrote:

_rl_filename_completion_function (LoadError)
from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:250:in
load_modules' from /usr/local/ruby_test/lib/ruby/1.8/irb/init.rb:21:insetup’
from /usr/local/ruby_test/lib/ruby/1.8/irb.rb:54:in `start’
from /usr/local/ruby_test/bin/irb:13
~/workspace/testtube $

Any ideas?

Hi, it appears that you’re missing the installation of readline. Thus,
you’ll need to install it before you can continue.

Good luck,

-Conrad