Installing Rails on OS X
Posted on May 15, 2006
Filed Under /dev/null/ | 79 views |
I decided today to finally take the plunge and check out Ruby on Rails in greater detail, specifically under OS X. Installation instructions vary across the web from the complete crap to the pretty good. I decided to use Installing Rails on Tiger from MacZealots and so far so good, except for a few hiccups.
- In the section dealing with
fixrbconfigthe current version of that gem will most likely fail if you’re running the latest version of the Apple Developer Tools.fixrbconfigexpects to find theruby.hheader in/usr/lib/ruby/1.8/powerpc-darwin8.0/ruby.hhowever on my system it was in/usr/lib/ruby/1.8/universal-darwin8.0/ruby.h. To fix this:
sudo ln -s /usr/lib/ruby/1.
8/universal-darwin8.0/* /usr/lib/ruby/1.8/powerpc-darwin8.0then re-run
fixrbconfig. - In the section dealing with installing
sqlite3instead ofsudo gem install sqlite3you’ll need to type
sudo gem install sqlite3-ruby
And it’s option 2, not option 1.
Comments
Leave a Reply