Ozimodo/Rails issue

software development


Hey guys; new to Dreamhost, and running rails apps off of a host for that matter. I’m trying to get Ozimodo running (http://ozimodo.rubyforge.org/install.html). I followed the instructions on Dreamhost’s Wiki to get Rails working off the root of my webserver, so under xxxxx.com domain I have my two folders, ror and http. In the web control panel the web root is set to xxxxx.com/http/, etc. There is a symbolic link in ror for public, to http.

My problem is, when I go to my domain, I get the default You’re Riding on Rails splash, and none of Ozimodo’s routes work. I copied Ozimodo’s files into the ror directory, and specifically put the /public files in /http, so I can’t figure out what I’m doing wrong. What would cause none of the routes to work? (ie xxxxx.com/admin)

If anyone could help me I’d REALLY appreciate it! Thanks guys!


Messing with my .htaccess a little more has me now getting a FastCGI: incomplete headers (0 bytes) received from server “/home/…/…/http/dispatch.fcgi” error. Man this is driving me nuts :stuck_out_tongue:

When I try to run dispatch.fcgi in ssh, I’m getting this errer:

./dispatch.fcgi:21:in require': no such file to load -- ./../config/environment (LoadError) from ./dispatch.fcgi:21 [mrpibb]$ ./dispatch.fcgi ./dispatch.fcgi:22:inrequire’: no such file to load – fcgi_handler (LoadError)
from ./dispatch.fcgi:22

Lines 21 and 22 in dispatch.fcgi read:
require File.dirname(FILE) "/…/config/environment"
require ‘fcgi_handler’


Another followup. I solved the problem above by instead making http a symbolic link to /ozimodo/public instead of the other way around in the wiki. Apparently dispatch.cgi was having trouble getting to config/environment

Anyhow, another step forward leads to another error. Now I’m getting the following:

…/config/…/vendor/rails/activerecord/lib/…/…/activesupport/lib/active_support/dependencies.rb:123:in const_missing': uninitialized constant CacheSweeper (NameError) from ../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:131:inconst_missing’
from ./…/config/environment.rb:59
from ./dispatch.fcgi:21:in `require’
from ./dispatch.fcgi:21