[Radiant] Getting 0.6.2 working on Dreamhost
Damien McKenna
damien at mc-kenna.com
Thu Sep 6 21:56:27 CDT 2007
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.
damien at mc-kenna.com - http://www.mc-kenna.com/
More information about the Radiant
mailing list