HELP!! Installing Rails on OS X breaks irb??

J

John N. Alegre

OK .. I need help.

According to the info out on the Hivelogic site for Rails to work on OS X I
had to do a build and install of Ruby and Rails to /usr/local. I did so
and Rails is working fine. However when I try to use irb I get this
error ..

salamanca:~ jna$ irb
dyld: NSLinkModule() error
dyld: Symbol not found: _rl_completion_matches
Referenced
from: /usr/local/lib/ruby/1.8/powerpc-darwin8.4.0/readline.bundle
Expected in: flat namespace

Trace/BPT trap

If I use the installed /usr/bin/irb everything works fine. What did I
break? Another question is if the Hivelogic info is correct. Is there a
way to get Rails working with stock OS X ruby.

(I have OS X 10.4.3 which comes with Ruby 1.8)

All comments welcome .. PLEASE

john
 
T

Tim Heaney

John N. Alegre said:
If I use the installed /usr/bin/irb everything works fine. What did I
break? Another question is if the Hivelogic info is correct. Is there a
way to get Rails working with stock OS X ruby.

(I have OS X 10.4.3 which comes with Ruby 1.8)

I had readline troubles with Ruby 1.8.4 too (I have OS X 10.3, which
came with a much older version of Ruby, but I had already upgraded to
to Ruby 1.8 without trouble). I finally gave up trying to fix it
myself and installed the DarwinPorts version of Ruby 1.8.4. Then I had
no trouble with Ruby on Rails. Here's what worked for me

http://hammer.prohosting.com/~theaney/RubyOnRails/osx.html

I hope this helps,

Tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

irb error on osx 10.4.11 3
Errors When Attempting "irb" 3
FXRuby on OS X Tiger 8
Setting up TclTkAquaBI and Ruby on OS X 0
irb Failing 0
Mac OS X Tiger comes with Tk? 22
curb problems on OS X 3
Newbie with error 0

Members online

Forum statistics

Threads
473,771
Messages
2,569,587
Members
45,099
Latest member
AmbrosePri
Top