Sha256: e0433edb666fd5bd8a3af8ea4b1076c9903201a30b8c019518112e0a18f1aec3

Contents?: true

Size: 186 Bytes

Versions: 17

Compression:

Stored size: 186 Bytes

Contents

Capistrano::Configuration.instance.load do

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

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
ms_deploy-0.3.1 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.3.0 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.5 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.4 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.3 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.2 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.1 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.2.0 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.9 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.8 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.7 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.6 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.5 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.4 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.3 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.2 lib/ms_deploy/recipes/seeding.rb
ms_deploy-0.1.1 lib/ms_deploy/recipes/seeding.rb