Sha256: f8fad525f385caefb016b3fdde03fec8580b91f8a2afde7fc8b14693d5744a08

Contents?: true

Size: 302 Bytes

Versions: 8

Compression:

Stored size: 302 Bytes

Contents

namespace :deploy do
  namespace :rails do
    desc "Executes rake db:seed on project"
    task :seed do
      on roles :app do
        within current_path do
          with rails_env: "#{fetch(:rails_env)}" do
            execute :rake, "db:seed"
          end
        end
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
capistrano-unformatt-2.4 lib/capistrano/tasks/rails.rake
capistrano-unformatt-2.3 lib/capistrano/tasks/rails.rake
capistrano-unformatt-2.2 lib/capistrano/tasks/rails.rake
capistrano-unformatt-2.1 lib/capistrano/tasks/rails.rake
capistrano-unformatt-2.0 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.16 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.15 lib/capistrano/tasks/rails.rake
capistrano-unformatt-1.14.1 lib/capistrano/tasks/rails.rake