Rails 3.0 console won't run

Posted by Waheedi on Stack Overflow See other posts from Stack Overflow or by Waheedi
Published on 2010-05-27T12:53:07Z Indexed on 2010/05/27 13:01 UTC
Read the original article Hit count: 329

bash-3.2# rails console
/opt/local/lib/ruby1.9/1.9.1/irb/completion.rb:9:in `require': dlopen(/opt/local/lib/ruby1.9/1.9.1/i386-darwin10/readline.bundle, 9): Library not loaded: /opt/local/lib/libncurses.5.dylib (LoadError)
  Referenced from: /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/readline.bundle
  Reason: no suitable image found. Did find:
/opt/local/lib/libncurses.5.dylib: no matching architecture in universal wrapper
/usr/lib/libncurses.5.dylib: no matching architecture in universal wrapper - /opt/local/lib/ruby1.9/1.9.1/i386-darwin10/readline.bundle
from /opt/local/lib/ruby1.9/1.9.1/irb/completion.rb:9:in `<top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/commands/console.rb:3:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/commands/console.rb:3:in `<top (required)>'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:32:in `require'
from /opt/local/lib/ruby1.9/gems/1.9.1/gems/railties-3.0.0.beta3/lib/rails/commands.rb:32:in `<top (required)>'
from script/rails:9:in `require'
from script/rails:9:in `<main>'

while "rails server" works pretty well

any help would be appreciated.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby-on-rails3