tasks/traceroute.rake in rake-n-bake-2.1.4 vs tasks/traceroute.rake in rake-n-bake-3.0.0
- old
+ new
@@ -1,10 +1,13 @@
if defined? Rails
begin
require 'traceroute'
namespace :bake do
- Rake::Task["traceroute"].invoke
+ task :traceroute do
+ RakeNBake::Baker.log_step 'Running Traceroute'
+ Rake::Task['traceroute'].invoke
+ end
end
rescue LoadError
tasks = %w[ traceroute ]