# Getting 0.6.2 working on Dreamhost

**URL:** <https://www.ruby-forum.com/t/getting-0-6-2-working-on-dreamhost/113917>\
**Category:** Radiant CMS\
**Created:** [September 6, 2007, 5:08am UTC](https://www.ruby-forum.com/t/getting-0-6-2-working-on-dreamhost/113917 "2007-09-06T05:08:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![damienmckenna](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/47e85d/32.png) [@damienmckenna](https://www.ruby-forum.com/u/damienmckenna)\
**Post date:** [September 6, 2007, 5:08am UTC](https://www.ruby-forum.com/t/getting-0-6-2-working-on-dreamhost/113917/1 "2007-09-06T05:08:48Z")

</div>

After getting Radiant running on a Windows server using  
mongrel\_cluster I figured getting it running on a Linux host would be  
easy. Pah.

I’m attempting to run this on Dreamhost and I _think_, but I’m not  
certain, that the site is basically timing out.

I went through the instructions from the wiki but when I attempt to  
view the site I get the following:

* * *

# Logfile created on Wed Sep 05 19:59:05 -0700 2007 by logger.rb/1.5.2.9

## [05/Sep/2007:19:59:05 :: 24151] starting [05/Sep/2007:19:59:05 :: 24151] Dispatcher failed to catch: private method `split' called for nil:NilClass (NoMethodError) /usr/lib/ruby/1.8/cgi.rb:897:in `parse’ /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/actionpack/lib/ action\_controller/cgi\_ext /raw\_post\_data\_fix.rb:45:in `initialize_query' /usr/lib/ruby/1.8/cgi.rb:2274:in `initialize’ /usr/lib/ruby/1.8/fcgi.rb:594:in `new' /usr/lib/ruby/1.8/fcgi.rb:594:in `each\_cgi’ /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ fcgi\_handler.rb:141:in `process_each_request!' /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ fcgi_handler.rb:55:in `process!’ /home/myuser/.gems/gems/radiant-0.6.2/vendor/rails/railties/lib/ fcgi\_handler.rb:25:in `process!’ public/dispatch.fcgi:31 almost killed by this error

When I run public/dispatch.fcgi I get the following:

* * *

[arrow]$ public/dispatch.fcgi  
Loaded suite public/dispatch.fcgi  
Started

Finished in 0.000218 seconds.

## 0 tests, 0 assertions, 0 failures, 0 errors

Note that it actually took about three seconds, not the 0.000218s it  
said.

Anyone have any ideas on what to try?

Thanks.

–  
Damien McKenna - Husband, father, geek.  
removed\_email\_address@domain.invalid - [http://www.mc-kenna.com/](http://www.mc-kenna.com/)

---

<div class="post-metadata">

**Author:** ![damienmckenna](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/47e85d/32.png) [@damienmckenna](https://www.ruby-forum.com/u/damienmckenna)\
**Post date:** [September 7, 2007, 4:59am UTC](https://www.ruby-forum.com/t/getting-0-6-2-working-on-dreamhost/113917/2 "2007-09-07T04:59:47Z")

</div>

On Sep 5, 2007, at 11:07 PM, Damien McKenna wrote:

> I’m attempting to run this on Dreamhost and I _think_, but I’m not  
> certain, that the site is basically timing out.

Not quite. Turns out it was brain-dead simple:

#dreamhost hack  
ENV[‘RAILS\_ENV’] = ‘production’  
ENV[“GEM\_HOME”]=“/home/myaccount/.gems”  
ENV[“GEM\_PATH”]=“/home/myaccount.gems:/usr/lib/ruby/gems/1.8”  
require File.dirname( **FILE** ) + “/…/config/environment”  
require ‘fcgi\_handler’  
RailsFCGIHandler.process!

I originally had the ENV lines after the ‘require’ lines when they  
needed to be _before_ them. LOL!

–  
Damien McKenna - Husband, father, geek.  
removed\_email\_address@domain.invalid - [http://www.mc-kenna.com/](http://www.mc-kenna.com/)
