README.md in prun-ops-0.0.21 vs README.md in prun-ops-0.0.22
- old
+ new
@@ -41,10 +41,11 @@
require 'capistrano/deploy'
require 'capistrano/rails'
require 'capistrano/bundler'
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
+require "#{File.dirname(__FILE__)}/config/application"
require 'capistrano/prun-ops'
Dir.glob('lib/capistrano/tasks/*.rake').each { |r| import r }
```
Notice that you are adding all prun-ops tasks with the line `require 'capistrano/prun-ops'`
@@ -175,6 +176,16 @@
```ruby
# Backup directories
require_relative "./application.rb"
set :backup_dirs, Taskboard::Application.config.backup_dirs
+```
+
+Also add in your Capfile:
+
+```ruby
+................
+require 'capistrano/rails/migrations'
+require "#{File.dirname(__FILE__)}/config/application"
+require 'capistrano/prun-ops'
+................
```
\ No newline at end of file