Setting up Ruby on Rails using FreeBSD has to be one of the most dead simple things (/me knocks on wood) that you can get setup.
First you will need to have Ruby installed. If you have been following along in our Setting up FreeBSD series this was done for you when you installed portupgrade. If you don’t just use portinstall ruby and then you will be up to speed with us.
With Ruby installed, the next step is to install Ruby Gems
[server][root][~]# portinstall ruby18-gems
Next we will want to install the rails gem with Ruby Gems.
[server][root][~]# gem install rails --include-dependencies
Whew that was hard :) Ruby on Rails is now setup. Next we will go through the process of setting up a Ruby on Rails blog application… I think Typo would fit the bill don’t you?
Rails Server Setup:
Part 1: New Server Setup
Part 2: Setup FreeBSD 6.x
Part 3: FreeBSD Usability
Part 4: Setup FreeBSD To Use Blowfish
Part 5: Install and Setup PostgreSQL
Part 6: Install Lighttpd on FreeBSD
Part 7: Install MySQL 5.x on FreeBSD
Part 8: Install Ruby On Rails with FreeBSD