Commit 2599ae54 by Andrew Babichev

Use new capistrano DSL for reenable tasks

parent 08d267cb
...@@ -189,7 +189,6 @@ namespace :sneakers do ...@@ -189,7 +189,6 @@ namespace :sneakers do
end end
end end
end end
Rake::Task["sneakers:stop"].reenable
end end
desc 'Start sneakers' desc 'Start sneakers'
...@@ -205,7 +204,7 @@ namespace :sneakers do ...@@ -205,7 +204,7 @@ namespace :sneakers do
desc 'Restart sneakers' desc 'Restart sneakers'
task :restart do task :restart do
invoke 'sneakers:stop' invoke! 'sneakers:stop'
invoke 'sneakers:start' invoke 'sneakers:start'
end 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