Commit 2599ae54 by Andrew Babichev

Use new capistrano DSL for reenable tasks

parent 08d267cb
......@@ -189,7 +189,6 @@ namespace :sneakers do
end
end
end
Rake::Task["sneakers:stop"].reenable
end
desc 'Start sneakers'
......@@ -205,7 +204,7 @@ namespace :sneakers do
desc 'Restart sneakers'
task :restart do
invoke 'sneakers:stop'
invoke! 'sneakers:stop'
invoke 'sneakers:start'
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment