Back on the Rails

Some things I've tripped over setting up Rails on Ubuntu:

rake migrate says /tmp/mysql.sock doesn't exist

MKMF load error in Ubuntu

Also, mongrel_rails doesn't seem to work on Ubuntu, but script/server does exactly the same thing.

the package manager is really remarkable.  I type

sha1

bash responds with

The program 'sha1' is currently not installed.  You can install it by typing:
sudo apt-get install sleuthkit
Make sure you have the 'universe' component enabled

With all the gyrations you have to go through with Windows installers, the system doesn't tell you anything half as useful when you try to execute an unknown command.

— Gordon Weakliem at permanent link