lib/ms_deploy/recipes/seeding.rb in ms_deploy-0.3.1 vs lib/ms_deploy/recipes/seeding.rb in ms_deploy-0.3.2
- old
+ new
@@ -1,8 +1,8 @@
Capistrano::Configuration.instance.load do
namespace :deploy do
- task :seed do
+ task :seed, :roles => :app do
run "cd #{current_path} && RAILS_ENV=#{rails_env} bundle exec rake db:seed"
end
end
end