# Re: Radiant on eApps

**URL:** <https://www.ruby-forum.com/t/re-radiant-on-eapps/76453>\
**Category:** Radiant CMS\
**Created:** [November 19, 2006, 3:19am UTC](https://www.ruby-forum.com/t/re-radiant-on-eapps/76453 "2006-11-19T03:19:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brian\_Sam-Bodden](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/4da419/32.png) [@Brian\_Sam-Bodden](https://www.ruby-forum.com/u/Brian_Sam-Bodden)\
**Post date:** [November 19, 2006, 3:19am UTC](https://www.ruby-forum.com/t/re-radiant-on-eapps/76453/1 "2006-11-19T03:19:58Z")

</div>

Michael,

Thanks. I’m still not getting things rolling. I have 2 apps running  
on my Mac using Locomotive. One of them being Radiant.  
eApps preinstall rails on under the “html” directory which only led to  
confusion. Based on their instructions I put the radiant  
folder under the html directory also. I ftp’ed the app from my Mac  
directly. I’ve created the databases and loaded the data I had in my  
development db.

I can actually go to the rails console and interact with the model  
objects:

ruby script/console  
Loading development environment.

> > page=Page.new  
> > =\> #\<Page:0xb7544490 @attributes={“virtual”=\>false, “slug”=\>nil,  
> > “updated\_at”=\>nil, “behavior\_id”=\>nil, “title”=\>nil, “created\_by”=\>nil,  
> > “breadcrumb”=\>nil, “updated\_by”=\>nil, “published\_at”=\>nil,  
> > “status\_id”=\>1, “layout\_id”=\>nil, “parent\_id”=\>nil, “created\_at”=\>nil},  
> > @new\_record=true\>

When I navigate to [http://mysite/public/](http://mysite/public/) I see the RoR welcome page. If  
I navigate to  
[http://mysite/radiant/public](http://mysite/radiant/public) I see this:

* * *

#!/usr/bin/env ruby

# 

# You may specify the path to the FastCGI crash log (a log of unhandled

# exceptions which forced the FastCGI instance to exit, great for

debugging)

# and the number of requests to process before running garbage

collection.

# 

# By default, the FastCGI crash log is RAILS\_ROOT/log/fastcgi.crash.log

# and the GC period is nil (turned off). A reasonable number of

requests

# could range from 10-100 depending on the memory footprint of your app.

# 

# Example:

# # Default log path, normal GC behavior.

# RailsFCGIHandler.process!

# 

# # Default log path, 50 requests between GC.

# RailsFCGIHandler.process! nil, 50

# 

# # Custom log path, normal GC behavior.

# RailsFCGIHandler.process! ‘/var/log/myapp\_fcgi\_crash.log’

# 

require File.dirname( **FILE** ) + “/…/config/environment”  
require ‘fcgi\_handler’

## RailsFCGIHandler.process!

The other application I have uploaded is a photo album app (from a RoR  
book). When I try that one ([http://mysite/photos/public](http://mysite/photos/public)) I get this:

* * *

## Application error

## Rails application failed to start properly

When I check the server logs when I hit the radiant page I see nothing  
(which sounds like the request is not being intercepted by any kind of  
cgi process. On the photo album app I see the following entries in the  
server log:

[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] failed to  
open  
log file  
[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] fopen:  
Permission denied  
[Sat Nov 18 19:36:25 2006] [error] [client 70.227.199.129] Premature end  
of script headers: dispatch.cgi

Thanks,  
Brian

> You want to edit RAILS\_ROOT/config/routes.rb
> 
> Here is more info on routes:  
> [Peak Obsession](http://manuals.rubyonrails.com/read/chapter/65#page164)
