Install Rails 2.0 RC1

sudo gem install rails -v 1.99.0 -y --source http://gems.rubyonrails.com
2007-11-15 [] No Comments

Initial Rails Subversion Project Setup

rails my_project
cd my_project/
svn import . http://svn
cd ~/Projects
svn co http://svn/my_project/trunk my_project
cd my_project/
svn rm log/*
svn rm tmp/*
svn mv config/database.yml config/database.yml.example
svn ci -m "Removed files to ignore in SVN."
svn propset svn:ignore "*.log" log/
svn propset svn:ignore "*" tmp/
svn propset svn:ignore "database.yml" config/
svn ci -m "Ignoring files for SVN."
2007-10-29 [] No Comments

Ubuntu Dapper Web Server How-to

It’s finally here, my updated how-to on how to get Ubuntu Dapper up and running as a home web server. Perfect for hosting those small web sites and blogs. My original Ubuntu 5.10 web server how-to is still available.

This updated version is very similar to the 5.10 how-to, however, there are a few changes required. The following changes have been made:

  • Setting up the Multiverse and Universe repositories
  • The packages to install Ruby
  • Setting a symbolic link for Ruby
  • Updating rubygems
  • Clearing the rubygems cache

Other than those, the rest of the how-to is the same as the Breezy how-to.

(more…)

2006-08-09 [, , , , , ] 6 Comments