Sha256: 5b7d87c8dad3fefed6f509c00c597b8a127847fbec50b394b66e5a95fc790bec

Contents?: true

Size: 202 Bytes

Versions: 18

Compression:

Stored size: 202 Bytes

Contents

Capistrano::Configuration.instance.load do

  namespace :deploy do
    task :seed, :roles => :app do
      run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rake db:seed"
    end
  end

end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
caploy-0.1.12 lib/caploy/recipes/seeding.rb
caploy-0.1.11 lib/caploy/recipes/seeding.rb
caploy-0.1.10 lib/caploy/recipes/seeding.rb
caploy-0.1.9 lib/caploy/recipes/seeding.rb
caploy-0.1.8 lib/caploy/recipes/seeding.rb
caploy-0.1.7 lib/caploy/recipes/seeding.rb
caploy-0.1.6 lib/caploy/recipes/seeding.rb
caploy-0.1.5 lib/caploy/recipes/seeding.rb
caploy-0.1.4 lib/caploy/recipes/seeding.rb
caploy-0.1.3 lib/caploy/recipes/seeding.rb
caploy-0.1.2 lib/caploy/recipes/seeding.rb
caploy-0.1.1 lib/caploy/recipes/seeding.rb
caploy-0.1.0 lib/caploy/recipes/seeding.rb
ms_deploy-0.3.6 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.3.5 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.3.4 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.3.3 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.3.2 lib/ms_deploy/recipes/seeding.rb