cant seem to run rails console

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:in
`load_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:in
`load_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:in `start'
  from /usr/local/ruby_test/bin/irb:13
~/workspace/testtube $

Any ideas?

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:in

`load_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:in

`load_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: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