# Radiant: testdrive error

**URL:** <https://www.ruby-forum.com/t/radiant-testdrive-error/86108>\
**Category:** Radiant CMS\
**Created:** [February 20, 2007, 12:47am UTC](https://www.ruby-forum.com/t/radiant-testdrive-error/86108 "2007-02-20T00:47:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [February 20, 2007, 12:47am UTC](https://www.ruby-forum.com/t/radiant-testdrive-error/86108/1 "2007-02-20T00:47:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![keith](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/k/f05b48/32.png) [@keith](https://www.ruby-forum.com/u/keith)\
**Post date:** [February 20, 2007, 12:55am UTC](https://www.ruby-forum.com/t/radiant-testdrive-error/86108/2 "2007-02-20T00:55:15Z")

</div>

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
