Sha256: 017f2ae455072b83454a882168ce6b97cc88de4265d1af6942795ec5dc2f95b7

Contents?: true

Size: 267 Bytes

Versions: 2

Compression:

Stored size: 267 Bytes

Contents

# frozen_string_literal: true

namespace :deploy do
  desc 'Reload the database with seed data'
  task :seeds do
    on roles(:all) do
      within current_path do
        execute :bundle, :exec, 'rails', 'db:seed', 'RAILS_ENV=production'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
schienenzeppelin-0.2 templates/lib/capistrano/tasks/seeds.rake
schienenzeppelin-0.1 templates/lib/capistrano/tasks/seeds.rake