As threatened, I have released daemon-kit 0.1.8.2 (& safely 0.3.1). The notable changes are:
- Daemon-Kit no longer generates references to the deprecated ::MQ namespace
- Daemon-Kit's bag-of-Capistrano-tricks properly activates Bundler when deploying
- Safely uses Ruby's $! to find the exception that broke your program (when writing out the backtrace)
- Both projects now use Bundler (instead of Jeweler)
To validate this, I generated a new project and deployed it to my localhost using Capistrano. It started. You can duplicate this by:
daemon-kit app -d capistrano
cd app; git init .; git add .; git commit -m "initial commit"
In config/deploy.rb, add set :daemon_env, "production" and optionally include the rvm integration. Change your repository:
set :repository, "#{ENV["user"]}@localhost:#{File.expand_path("../../", __FILE__)}/.git"
Follow this up with 'cap deploy:#{setup,cold}' and things should be happy. Don't forget to kill the process :-)