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