What Happened to the Default Ruby Installation on Mac OS X 1

I usually use a ruby installed through DarwinPorts, but I have some
scripts which are hardcoded for /usr/bin/ruby.

My shell wrote:

rubysig.h version.h
dl.h env.h node.h ruby.h st.h
$ /usr/bin/ruby -e ‘p $LOAD_PATH’
["/usr/lib/ruby/site_ruby/1.8", “/usr/lib/ruby/site_ruby/1.8/
powerpc-darwin8.0”, “/usr/lib/ruby/site_ruby”, “/usr/lib/ruby/1.8”,
“/usr/lib/ruby/1.8/powerpc-darwin8.0”, “.”]

If you can’t see from the listing, the standard lib is gone. Also
gone: /usr/bin/ri and /usr/bin/irb. I haven’t messed around with the
default installation, I suspect the update to 10.4.6 did. Can anyone
else confirm this?

There is a 1.8/universal-darwin8.0 folder, but ruby isn’t universal.

$ file /usr/bin/ruby
/usr/bin/ruby: Mach-O executable ppc

– Daniel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs