Rails 3.0 console won't run
- by Waheedi
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.