Indeed, installing rails can be a huge pain on OSX.
And uhm, the rb-rubygems package in macports/darwinports seems to be broken. Instead rb-rails is the prefered way of getting rails through darwinports. The rb-rubygems port
Here's my take on it: http://blog.leenarts.net/2006/09/22/error-installing-rails/
The problem is, that there just doesn't seem to be a recommended way of installing rails. Basicly if you are not using darwinports, a packaged install of ruby gems is the way to go. If you're using darwinports or fink, then you are basicly obligated to install ruby/rails/other dependencies directly through your package manager and not through ruby gems.. Because all use /opt/local to put their installations. Things can get really hairy real fast when working with a mixed (rubygems/package manager) set-up.
by Jeroen Leenarts — Oct 18
And uhm, the rb-rubygems package in macports/darwinports seems to be broken. Instead rb-rails is the prefered way of getting rails through darwinports. The rb-rubygems port
Here's my take on it: http://blog.leenarts.net/2006/09/22/error-installing-rails/
The problem is, that there just doesn't seem to be a recommended way of installing rails. Basicly if you are not using darwinports, a packaged install of ruby gems is the way to go. If you're using darwinports or fink, then you are basicly obligated to install ruby/rails/other dependencies directly through your package manager and not through ruby gems.. Because all use /opt/local to put their installations. Things can get really hairy real fast when working with a mixed (rubygems/package manager) set-up.