user105895
user105895

Reputation: 25

When I run script/console in my rails app, I got error readline.bundle

I have problem with running 'script/console'

Environments

os : macosx

ruby version : ruby 1.8.7p5000 (2009-03-03) [i386-darwin9.6.0]

rails version : Rails 2.3.2


Loading development environment (Rails 2.2.2)

/usr/local/lib/ruby/1.8/i386-darwin9.6.0/readline.bundle: dlopen(/usr/local/lib/ruby/1.8/i386-darwin9.6.0/readline.bundle, 9): Symbol not found: _rl_filename_completion_function (LoadError)

Referenced from: /usr/local/lib/ruby/1.8/i386-darwin9.6.0/readline.bundle

Expected in: flat namespace

Upvotes: 0

Views: 722

Answers (1)

Jim Kane
Jim Kane

Reputation: 1274

Your problem seems to be described here. Specifically, the last comment by Matthew Hutchinson says to do this:

Download ruby source again, extract it, then go into ext/readline in the ruby source directory and type:

ruby extconf.rb 
make
sudo make install

Upvotes: 1

Related Questions