Feb 1 2007

Macbook

After months of pondering, I eventually ordered a Macbook Pro. I went for the “low-end” model, 2.16GHz processor and 1GB of RAM. €450 didn’t really make sense for the next model up, and a 17inch screen is just too big for a laptop (in my opinion). Now I just have to wait until it arrives :-( trying to supress the urge to check the UPS tracking website every 5 minutes.
When it does arrive I’ll have a bit of learning to do to get use to the Mac way of doing things. Talking of such things, if you’re a Mac user, what software do you use for email, spreadsheet, wordprocessor? I just noticed that Openoffice only runs in X11 for Mac at the moment - which would probably be fine for me anyway.


Nov 6 2006

Installing Ruby on Ubuntu

These are my experiences of installing Ruby on Ubuntu. I didn’t install the Ubuntu package but went with the source on the Ruby On Rails website. Everything worked fine out of the box, just downloaded the files and followed their instructions (basically the following, in this order.)

Download ruby-1.8.4.tar.gz and rubygems-0.9.0.tgz from the links on http://www.rubyonrails.org/down

Ruby

tar xzf ruby-1.8.4.tar.gz
cd ruby-1.8.4
./configure
make
make test
sudo make install

RubyGems

tar xvf rubygems-0.9.0.tgz
cd rubygems
sudo ruby setup.rb

Rails

sudo gem install rails –include-dependencies

Test installation

rails railstest/
cd railstest/
ruby script/server

Point your browser at http://127.0.0.1:3000