meskyanichi/backup — pull request #216 by chopmo (2011-11-16 10:36:24+00:00)
Title: Don't assume that ENV['HOME'] is set

Hi,

On a project in which I use backup, I start some resque runners with 'god'. This fails because backup assumes that the HOME environment var is set, which is not the case when god is started as a daemon (here is a detailed writeup if you're interested: http://t.co/lH5dfXu9 )

I have patched this and verified that the patch works. Note that I have not changed the use of ENV['HOME'] in backup/storage/local.rb because I'm unsure about what is safe to assume in that context.

Thanks for this great gem!

/Jacob