Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Fix Ruby extension library building System 10.4
Tiger only hintI've wanted to experiment with Ruby on Rails (the same technology behind Backpack) for a while now, but ran into a problem when I tried to install it on my 10.4 machine. Rails installs with gem, no problem, but I couldn't get gem to build the external libraries Ruby needs to interact with MySQL.

Fortunately, the kind folks at technoblog created a script that does all the fixes you need to get your Tiger Ruby to properly make binary libraries.
    •    
  • Currently 3.20 / 5
  You rated: 5 / 5 (5 votes cast)
 
[8,316 views]  

10.4: Fix Ruby extension library building | 2 comments | Create New Account
Click here to return to the '10.4: Fix Ruby extension library building' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Fix Ruby extension library building
Authored by: Bluecoat93 on Jun 10, '05 12:09:36PM
If you're running gem, you can use do 'gem install fixrbconfig' to accomplish the same thing.
fixrbconfig (1.0)
    Fixes the rbconfig.rb that ships with Mac OS X 10.4 (Tiger), which
    makes it impossible to compile C extensions


[ Reply to This | # ]
Apple-included ruby in 10.4 is broken
Authored by: mevodig on Jun 20, '05 08:25:08AM

Please note that the Apple-included ruby in 10.4 is broken, even beyond the problems mentioned in this article.
It handles endianness wrong which breaks the String.pack & unpack-methods, who knows what else? Do yourself a favor, install ruby from darwinports or similar.



[ Reply to This | # ]