Setting up RoR in Tiger
Jun 04, 2005
0 comments
Here is the real solution to getting everything working that you need for Ruby on Rails in OS X 10.4.2: (as of 8/30/05)
- Fresh install of Tiger
- Install XCode 2
- Download and run this script:
curl -O rufy.com/fix-ruby-tiger.sh;<br/> sh fix-ruby-tiger.sh - sudo gem install rails
- Download MySQL 4.1 OS X 10.3 binary from Mysql.com
- I recommend installing the MySQL startup script and preference pane as well, but you don’t have to (both come with the mysql binary)
- Download the latest ruby mysql source from http://www.tmtm.org/en/mysql/ruby/
- Unzip, untar the folder, navigate to it, then type the following:
- ruby extconf.rb—with-mysql-config
- sudo make install
- Delete the folder if you’d like and you’re done!
And now you have a fixed copy of Ruby (readline is broken and there’s a bug with rbconfig by default in Tiger), ruby gems, rails, MySQL, and the MySQL ruby drivers. I hope that helps somebody else, because had I not used Rails before and seen how cool it was I would have never had the patience to try and get it working.
Sorry, comments have been closed for this post.