I am starting mongrel like this
script/server -p 3001 -e test
Wendy:yourtogo noel$ cucumber
WARNING: Nokogiri was built against LibXML version 2.6.16, but has
dynamically loaded 2.6.30
Feature: Display Cuisines and associated Restaurants
In order Make it simple to find restaurants
As a guest
I want to see multiple cuisines and restaurants grouped within them
Scenario: Cuisines List #
features/display_cuisines.feature:6
Given I have cuisines named "Chinese", "Mexican" #
features/step_definitions/cuisine_steps.rb:1
==> Waiting for Selenium RC server on port 4444... Ready!
==> Waiting for rails application server on port 3001... Ready!
When I go to the homepage #
features/step_definitions/webrat_steps.rb:10
Then I should see "Chinese" #
features/step_definitions/webrat_steps.rb:93
And I should see "Mexican" #
features/step_definitions/webrat_steps.rb:93
1 scenario (1 passed)
4 steps (4 passed)
0m9.493s
!!! PID file /Users/noel/My_Development_Stuff/yourtogo/tmp/pids/mongrel_selenium.pid
does not exist. Not running?
mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to get help.
13:58:53.132 ERROR - Exception running '0 'command on session null
java.lang.NullPointerException: sessionId should not be null; has this
session been started yet?
at org.openqa.selenium.server.FrameGroupCommandQueueSet.getQueueSet(FrameGroupCommandQueueSet.java:212)
at org.openqa.selenium.server.commands.SeleniumCoreCommand.execute(SeleniumCoreCommand.java:34)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.doCommand(SeleniumDriverResourceHandler.java:516)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handleCommandRequest(SeleniumDriverResourceHandler.java:368)
at org.openqa.selenium.server.SeleniumDriverResourceHandler.handle(SeleniumDriverResourceHandler.java:129)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
at org.mortbay.http.HttpServer.service(HttpServer.java:909)
at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:982)
at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244)
at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)