sudo gem install rails -v 1.99.0 -y --source http://gems.rubyonrails.com
Install Rails 2.0 RC1
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."
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.
Set-up Typo 4 on Ubuntu Dapper
It was very annoying to find out that the brand spanking new installer for Typo wasn’t going to install over rubygems. The irritating part was that it was SQLite causing the problem because it’s a dependency of the Typo gem. No idea why. But I don’t want to SQLite – I’m running MySQL on Apache.
Ubuntu 5.10 web server howto
I reinstalled my home server today (well, I actually started yesterday, but today I finished from scratch again) and wrote down what I did. My aim was to have a web server set up using Apache that I could use to host this blog which uses Ruby on Rails. Also, I wanted to set-up Webmin and Bind so I could manage the DNS stuff from here.
So, here we go! If you find any errors, or have any problems, leave a comment and I’ll try and help.
Upgraded to Typo trunk
I just upgraded to the latest trunk version of Typo; 762 and was glad to see an Audioscrobbler addition to the sidebar – so you can now see all the latest tracks I’ve played recently. Mainly this week that has been ‘The Polar Express’ soundtrack by Alan Silvestri (composer of the Forest Gump soundtrack).
Also, Typo should now been pinging blog-sites so they all know I’ve updated, which is nice and handy.
The next new addition that I’ll have to try out by updating some of my old posts, is syntax colouring :)