MC1
(MC)
September 22, 2008, 2:09pm
1
I am a newb. Running OS X leopard. Installed ruby, rails, mysql
through macports. Everything works fine except today I tried to run
the irb console. I get the following:
computer: mark$ ruby script/console
Loading development environment (Rails 2.1.0)
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_completion_matches
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin9.4.0/
readline.bundle
Expected in: flat namespace
Trace/BPT trap
computer: mark$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [powerpc-darwin9.4.0]
Any ideas?
rab
(Rob Biedenharn)
September 22, 2008, 2:32pm
2
I am a newb. Running OS X leopard.
OK.
Installed ruby, rails, mysql
through macports.
Huh? If you're running Leopard, you should have ruby and rails already! You may have a conflict:
rab:Users/rab $ which ruby
/usr/bin/ruby
rab:Users/rab $ ruby -v
ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
rab:Users/rab $ which rails
/usr/bin/rails
rab:Users/rab $ rails -v
Rails 2.1.0
Everything works fine except today I tried to run
the irb console. I get the following:
computer: mark$ ruby script/console
Loading development environment (Rails 2.1.0)
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_completion_matches
Referenced from: /usr/local/lib/ruby/1.8/powerpc-darwin9.4.0/
readline.bundle
Expected in: flat namespace
Trace/BPT trap
computer: mark$ ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [powerpc-darwin9.4.0]
Any ideas?
I hope that gives you a starting point.
-Rob
Rob Biedenharn http://agileconsultingllc.com
Rob@AgileConsultingLLC.com
MC1
(MC)
September 22, 2008, 4:03pm
3
All my responses are the same as yours. Just no irb.
Can irb be reinstalled by itself or maybe I should just reinstall ruby
again?