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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
9358cc96c46055cd68d4a76a9aefe026?d=identicon&s=25 Daniel Harple (Guest)
on 2006-04-23 21:11
(Received via mailing list)
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 topic is locked and can not be replied to.