lib/baldwin/gem_tasks.rb in baldwin-0.2.5 vs lib/baldwin/gem_tasks.rb in baldwin-0.2.6

- old
+ new

@@ -11,10 +11,10 @@ Baldwin.env! end desc "Remove all test rails apps" task :clean => [ :env ] do - Baldwin.apps.each { |app| app.rmdir :force => true } + Baldwin.apps.each &:rmtree end desc "Create a test rails app if necessary" task :rails => [ :env ] do if File.exist? ENV[ 'BALDWIN_RAILS_PATH' ]