alexfarrill/capistrano-mysqldump — pull request #4 by opyh (2013-07-03 10:11:42+00:00)
Title: Fix non-working rake tasks after installation

This fixes `private method 'load' called for nil:NilClass` errors.

Idea from https://github.com/teohm/capistrano-shared_file/pull/2.

I've also bumped the version patchlevel, hope that's fine.

Basically this is only adding two lines around the `load` method for the case
the initializer is not run inside a capistrano deployment:

```ruby
if Capistrano::Configuration.instance
Capistrano::Configuration.instance.load do
…
end
end
```

The rest is just resulting indentation.