# Deploying Radiant on site5

**URL:** <https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875>\
**Category:** Radiant CMS\
**Created:** [July 12, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875 "2008-07-12T15:04:50Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 12, 2008, 3:04pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/1 "2008-07-12T15:04:50Z")

</div>

I have been trying to deploy radiant on site5, and I think I am close to  
succeeding.

However, when go to the frontpage it says:

```
Application error

Rails application failed to start properly

```

In the error log this is the message:

```
[Sat Jul 12 07:58:44 2008] [notice] mod_fcgid: process

```

/home/chainrea/public\_html/dispatch.fcgi(24336) exit(communication  
error), terminated by calling exit(), return code: 116

So i guess something is wrong with som fast cgi stuff? How can i fix it?

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 12, 2008, 9:40pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/2 "2008-07-12T21:40:20Z")

</div>

I only got this far by combining these two tutorials:

[http://forums.site5.com/showthread.php?t=14847](http://forums.site5.com/showthread.php?t=14847)

and

[http://wiki.radiantcms.org/How\_To\_Deploy\_on\_Site5](http://wiki.radiantcms.org/How_To_Deploy_on_Site5)

I have tried doing it over and over to recheck for typo’s and so on but  
with no luck.

But maybe it was a bad idea to use two tutorials and jump to the other  
one whenever I got stuck?

But when I only follow this tutorial:

[http://wiki.radiantcms.org/How\_To\_Deploy\_on\_Site5](http://wiki.radiantcms.org/How_To_Deploy_on_Site5)

I get stuck at:

Unpack the application using the radiant command into the directory  
radapp (it will create the directory if it does not exist).

$ ~/gems/bin/radiant --database mysql radapp

I then get this error:

/usr/lib/site\_ruby/1.8/rubygems.rb:578:in `report_activate_error': Could not find RubyGem radiant (>= 0) (Gem::LoadError) from /usr/lib/site_ruby/1.8/rubygems.rb:134:in `activate’  
from /usr/lib/site\_ruby/1.8/rubygems.rb:49:in `gem’  
from /home/chainrea/gems/bin/radiant:18

Please help. Right now I don’t need to deploy something specific - I  
just want to get the basic radiant up and running remotely.

(I hove no problems with getting it up and running locally.)

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 12, 2008, 10:45pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/3 "2008-07-12T22:45:58Z")

</div>

OKAY now I got through to the end of the tutorial with:

Create the admin user (press enter for defaults).  
Name (Administrator):  
Username (admin):  
Password (radiant):

Initializing configuration…OK

Select a database template:

1. Empty
2. Simple Blog
3. Styled Blog  
[1-3]: 2

Creating Snippets…OK  
Creating Pages…OK  
Creating Layouts…OK  
Creating Page parts…OK

Finished.

But when I go to my site it stil says:

Application error

Rails application failed to start properly

☹

Please…

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 13, 2008, 2:20pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/4 "2008-07-13T14:20:40Z")

</div>

Hello here are the results

gem env:

[chainrea@belong ~]$ gem env  
RubyGems Environment:

- RUBYGEMS VERSION: 1.2.0
- RUBY VERSION: 1.8.5 (2006-08-25) [i386-linux]
- INSTALLATION DIRECTORY: /home/chainrea/gems
- RUBY EXECUTABLE: /usr/bin/ruby
- EXECUTABLE DIRECTORY: /home/chainrea/gems/bin
- RUBYGEMS PLATFORMS:
  - ruby
  - x86-linux

- GEM PATHS:
  - /home/chainrea/gems
  - /usr/lib/ruby/gems/1.8

- GEM CONFIGURATION:
  - :update\_sources =\> true
  - :verbose =\> true
  - :benchmark =\> false
  - :backtrace =\> false
  - :bulk\_threshold =\> 1000
  - “gemhome” =\> “/home/chainrea/gems”
  - “gempath” =\> [“/home/chainrea/gems”, “/usr/lib/ruby/gems/1.8”]

- REMOTE SOURCES:
  - [http://gems.rubyforge.org/](http://gems.rubyforge.org/)

cd /path/to/radiant - I’m not shure about this one? Do you want to know  
were radiant is installed or were my “radiant app” is?

ruby dispatch.fcgi:

[chainrea@belong ~]$ cd radapp  
[chainrea@belong radapp]$ cd public  
[chainrea@belong public]$ ruby dispatch.fcgi  
Content-Type: text/html; charset=utf-8  
Status: 200 OK  
Last-Modified: Sun, 13 Jul 2008 12:18:47 GMT  
X-Runtime: 0.00535  
ETag: “d691833cfe4ba66ce222822f471049dd”  
Content-Length: 980

 Home Page 

# Home Page

* * *

```
<div id="content">

```

### [First Post](https://www.ruby-forum.com/articles/2008/07/12/first-post/)Administrator

This post uses [textile](http://www.textism.com/tools/textile/).

### [Second Post](https://www.ruby-forum.com/articles/2008/07/12/second-post/)Administrator

This post uses **Markdown**.

```
  <div id="extended">

  </div>
</div>
<hr />

```

Powered by [Radiant CMS](http://radiantcms.org/)

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 13, 2008, 2:22pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/5 "2008-07-13T14:22:38Z")

</div>

Oh now I understand with regards to “cd path to radiant” - you just  
meant that i had to go to my radiant app and execute ruby dispatch.fcgi:

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 13, 2008, 12:08pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/6 "2008-07-13T12:08:02Z")

</div>

Hi Jan,

Try this: Open an ssh terminal. Run the following commands and post  
the  
results.

gem env  
cd /path/to/radiant  
ruby dispatch.fcgi

You can also run ruby with the debug flag on (-d) but i find that even a  
working installation generates a lot of spurious complaints.

Good luck!

On Sat, Jul 12, 2008 at 4:45 PM, Jan frederik Poulsen [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 13, 2008, 11:08pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/7 "2008-07-13T23:08:13Z")

</div>

I just want to crarify in case others run in to the same issue - all my  
problems were due to wrong folder permissions.

For some reason the radiant command that builds the site/app gives the  
folders a wrong permission (for running on site5). To get this working  
simply change all the folder permissions to 755 (also the app folder it  
self i think.)

---

<div class="post-metadata">

**Author:** ![janpipek](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b5e925/32.png) [@janpipek](https://www.ruby-forum.com/u/janpipek)\
**Post date:** [July 13, 2008, 5:53pm UTC](https://www.ruby-forum.com/t/deploying-radiant-on-site5/142875/8 "2008-07-13T17:53:23Z")

</div>

Site5 helped me - kudos to their high level of service.

Apparently it was an issue with folder permissions “755”.
