lib/caploy/recipes/seeding.rb in caploy-0.1.12 vs lib/caploy/recipes/seeding.rb in caploy-0.2.0
- old
+ new
@@ -1,9 +1,9 @@
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"
+ run "cd #{current_path} && RAILS_ENV=#{rails_env} #{rake} db:seed"
end
end
end