From bc75c4acf5ed917f83463fd2617df4d71e6df13b Mon Sep 17 00:00:00 2001 From: Sarah Mei Date: Fri, 8 Oct 2010 15:22:02 -0600 Subject: [PATCH] Let's try putting display in the rake command. --- lib/tasks/ci.rake | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake index d2ab4c8f2..1af761cfc 100644 --- a/lib/tasks/ci.rake +++ b/lib/tasks/ci.rake @@ -1,8 +1,7 @@ desc "Run all specs and features" task :ci => [:environment] do - system "export DISPLAY=:99" system "/etc/init.d/xvfb start" - system "bundle exec rake" + system "DISPLAY=:99.0 bundle exec rake" exit_status = $?.exitstatus system "/etc/init.d/xvfb stop" raise "tests failed!" unless exit_status == 0