Burn My Time

~Josh Houghtelin

Installing Ruby & Rails on FreeBSD.

Josh Houghtelin Software, BSD

I havn’t played w/rails much so I’m installing that today as well. As an alternative to pre-packaged CMS, rails is supposed to be simple/fast/powerfull.

Ruby install w/FreeBSD ports

cd /usr/ports/lang/ruby18
make all install clean

Gem install from tarball

wget http://rubyforge.org/frs/download.php/3700/rubygems-0.8.10.tgz
tar -zxvf rubygems-0.8.10.tgz
cd rubygems-0.8.10
/usr/local/bin/ruby setup.rb

Rails install w/Gem

/usr/local/bin/gem install rails –include-dependencies

Lets get started with rails.

/usr/local/bin/rails test
cd test
/usr/local/bin/ruby script/server

WEBrick will now have kickstarted your rails application. Tooo Easy. Just visit it at http://xxx.xxx.xxx.xxx:3000 and oogle at your leetness.

Leave a comment!



Message



Burn My Time © 2007.

Simple Grey theme developed by Rodrigo P. Ghedin.
Brought by Wordpress Themes

WordPressFAMFAMFAM