Daemonized Rails server cannot find jasmine fixtures

When the Rails server is started as daemon, e.g.

      rails server -d

jasminerice fails to load fixtures with the missing template error. The reason is that the current directory of the daemon is "/" instead of the Rails.root and the lookup for "spec/javascript/fixtures" fails.

A workaround is to add the following line to the application.rb:

    config.paths['app/views'] << Rails.root.to_s