Radiant: testdrive error

All,

Hope you can help.

I’m working my way through jake’s radiant to textdrive
article. I have requested/recieved a lighttpd port.

I have gone
through the whole textdrive ‘how to start a rails app’ tutorial. I’m
almost done - except I’m stuck on the last step. Starting up my radiant
app. with the required rails.sh file. When I run the process I receive
the
following error:

Output from /home/manager/etc/rc.d/rails.sh …
/home/manager/etc/rc.d/rails.sh: not found

Here is the contents of the rails.sh file:

#!/bin/sh

Script for starting your Rails applications

Replace USERNAME with your TextDrive user name

USER=manager

This is for your main domain. Replace APPNAME with the appropriate

value
RAILS_ENV=production /usr/local/bin/spawn-fcgi -f
/users/home/$USER/web/public/dispatch.fcgi -s
/users/home/$USER/var/run/radiant-0.socket

This is for your secondary domain(s). Uncomment it (remove the #) if

you have a secondary domain and replace YOUROTHERDOMAINNAME and

OTHER-APPNAME.

RAILS_ENV=production /usr/local/bin/spawn-fcgi -f

/users/home/$USER/domains/YOUROTHERDOMAINNAME.com/web/public/dispatch.fcgi
-s /users/home/$USER/var/run/OTHER-APPNAME-0.socket

For each additional domain and application, just copy and paste the

above

and replace the appropriate values to create another configuration

entry.

Can anyone help?

Keith

This isn’t a Radiant issue, you should poke around the textdrive
knowledgebase, they have a few good pages that give setup directions.

Your message “/home/manager/etc/rc.d/rails.sh: not found”

Means that file doesn’t exist.

Also, before you jump to running a Radiant site I would suggest you
create a simple rails app to run first, that way you can be sure you
have Rails running properly and that your issues are truely related to
Radiant.

Good luck-
Michael