task default: :test task :test do sh 'ruby -Itest -Ilib test/run_all.rb' end task :demo do sh 'ruby demo.rb' end