Archive for September, 2008
Capistrano Callbacks
Tuesday, September 23rd, 2008 | Code | 4 Comments
After a short period of time realizing that I need to do some custom calls via my capistrano deployment, and with thanks to Alex Ooi’s help, was able to add a callback task, like so:
namespace :deploy do
# Create custom mount
task :mount do
run "ln -s target directory"
end
end
In order to have this run, earlier in your deploy.rb script, simply add:
after :deploy, "deploy:mount"
Done!
Return of the Mac
Sunday, September 14th, 2008 | Anything | No Comments
Bought myself a Macbook Pro over the weekend, and what an awesome piece of computing possibilities it is. Played around with it the whole weekend pretty much and got my development environment going. Now I just need to set it up for PHP as well and I’ll be all set (It’s currently enabled for Ruby/Rails). Sitting in front of the TV is now actually interesting.