generators/rspec/templates/rspec.rake in dchelimsky-rspec-rails-1.1.99.6 vs generators/rspec/templates/rspec.rake in dchelimsky-rspec-rails-1.1.99.7
- old
+ new
@@ -142,9 +142,10 @@
task :start do
if File.exist?(daemonized_server_pid)
$stderr.puts "spec_server is already running."
else
$stderr.puts %Q{Starting up spec_server ...}
+ FileUtils.mkdir('tmp') unless test ?d, 'tmp'
system("ruby", "script/spec_server", "--daemon", "--pid", daemonized_server_pid)
end
end
desc "stop spec_server."
\ No newline at end of file