Sha256: 1447899666149b3b2d420dc4c37987266d7934957d7e71e94c0bf4876bda2ab4

Contents?: true

Size: 437 Bytes

Versions: 3

Compression:

Stored size: 437 Bytes

Contents

namespace :app do

  task :db_prepare do
    on roles(:app) do
      invoke 'deploy:starting'
      invoke 'deploy:started'
      invoke 'deploy:updating'
      invoke 'bundler:install'
      if Rails.application.config.respond_to? :backup_repo
        invoke 'backup:restore'
      else
        invoke 'deploy:db_create'
        invoke 'deploy:migrate'
        invoke 'deploy:db_seed'
      end
    end
  end

  task :test do
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
prun-ops-0.3.4 lib/capistrano/config/app.rake
prun-ops-0.3.3 lib/capistrano/config/app.rake
prun-ops-0.3.2 lib/capistrano/config/app.rake