While I did most of my recent web dev projects in PHP5 I still follow the development of Ruby on Rails …on it’s path to a stable version 3.0 release.
So no wonder that I had to get my hands dirty with the just recently released Rails 3.0 Beta.
While I still own a 12″ PowerBook with OS X 10.5.8 Leopard (latest OS X PPC release) I needed to get rails-3.0.0.beta running on this machine – of course ;-)

1. Upgrade to Ruby 1.8.7 with RubyGems
As at least Ruby 1.8.7 is required by Rails 3.0 I decided to use MacPorts (prerequisite!) to upgrade Ruby version 1.8.6 as shipped with OS X Leopard.
sudo port install ruby rb-rubygems
sudo gem update --system
source ~/.profile
Satellit:~ matthias$ ruby -v
ruby 1.8.7 (2009-06-12 patchlevel 174) [powerpc-darwin9]
2. Install Rails 3.0 Beta (rails-3.0.0.beta) along with the required dependencies
sudo gem install i18n tzinfo builder memcache-client rack rack-test rack-mount erubis mail text-format thor bundler sqlite3-ruby
sudo gem install rails --pre
3. Create Rails app. and start the server
Satellit:~ matthias$ rails rails3beta-test
Satellit:~ matthias$ cd rails3beta-test
Satellit:~ matthias$ rails server
Inspired by Silumesii Maboshe.




Comments