I am having some success running Tracks on TextDrive, but I am running into a problem when trying to run tracks as a remote process (e.g. a cron job). When I run it from the command line using:
ruby script/server -e production -d
it works fine. However, running this remotely results in a “could not open database” error. I have even tried creating a script to run:
#!/bin/sh
cd /users/home/<mydomain>/tracks-1.043
ruby script/server -e production -d
But I get the same result. It seems like this should work, since it is exactly what I am doing from the command line, but it does not. Any idea what needs to be done?
