faded picture of luke
a semi-random photo | click for the full photo gallery
click to browse photos
homepage navigation

Luke Melia

October 24, 2006

Capistrano and your shell

I’ve just started to use Capistrano to deploy my non-rails sites and ran into a bit of trouble. My web host for these sites is pair.com, and I’d already installed the subversion client there.

When trying to deploy using capistrano, I was getting a command failed RuntimeError as well as this odd line in my cap output:

** [out :: chi.pair.com] if: Expression Syntax.

I spent a bunch of time chasing down whether something about the command was wrong, perhaps the way it was calling date with the format. But it turns out that the problem was occuring becaue to my pair account user shell was set to csh and not bash. You can check this by running this command within a session on your pair account:

cat /etc/passwd | grep $USER

To set the shell, run the following (also on your pair account):

chsh -s bash

That was the only major issue I ran into. Deployment with capistrano is a beautiful thing!

October 15, 2006

Shaker proverb for software

October 10, 2006

Two keyboards, two mice

On Pairing Etiquette

LukeMelia.com created 1999. ··· Luke Melia created 1976. ··· Live With Passion!
Luke Melia on software development freelance web development how to contact me Luke Melia, Software Developer letters and more from my travels photo gallery personal philosophy