Installing RubyGems on Mac OS X 10.3

I decided to install RubyGems and the Rails framework on my PowerBook so that I might follow along with ONLamp’s breathless Rolling with Ruby on Rails tutorial, but when I tried to complete the installation of RubyGems with the following statement in the Terminal:

% sudo ruby setup.rb install

It kept bombing out with the error

hook /Users/andy/Desktop/rubygems-0.8.4/./post-install.rb failed:
wrong # of arguments(2 for 1)

You know you’re in trouble when Google comes up with fewer than ten results for the exact error you’re researching.

However, given that OS X has a relatively old version of Ruby preinstalled (1.6.8), I suspected that might be the issue and gave the slightly newer Ruby package for Fink a try instead. (You do have Fink installed, don’t you?) The install went like a charm – just be sure to use the Fink executable, not the native OS X one:

% sudo /sw/bin/ruby setup.rb config
% sudo /sw/bin/ruby setup.rb setup
% sudo /sw/bin/ruby setup.rb install

Also

Syndicate content

Twitter

  • Score! http://t.co/KVDyULXM 2 years 18 weeks ago
  • @ComcastBill Thanks. 2 years 19 weeks ago
  • @wstites Thanks. @comcast is making it awfully hard for me to give them more money. 2 years 19 weeks ago
  • @comcastbill(have called 4 or 5 numbers so far. Am told I don't qualify as existing customer, no way to track who it was who called me.) 2 years 19 weeks ago
  • @ComcastBill I received a call with a bundle offer yesterday, but I lost the rep's contact info. I get the runaround calling the main #. 2 years 19 weeks ago

Older

Contact

Andy Chase
(978) 297-6402
andychase [at] gmail.com
GPG/PGP Public Key