New Ruby on Rails Application Error

New Ruby on Rails Application Error

Posted by: rcolt
Posted on: 2006-11-11 11:52:00

I installed ROR per the directions at: http://wiki.dreamhost.com/index.php/Ruby_on_Rails#Quick_Start_Guide_August_2006

When I go to the new "Welcome Aboard" index page and click on "About your application environment" I get " Application Error Rails application failed to start properly"

Could someone please help me figure out what might be going wrong? I need some detailed help as I do not know much about how to read environmental variables from an ssh session or how to set them.

Thanks

Re: New Ruby on Rails Application Error

Posted by: brink
Posted on: 2006-11-12 07:14:00

You can look in the log file in your applications log directory to get a better idea of what's going on... or is that where you got the environment variable thing?

Re: New Ruby on Rails Application Error

Posted by: rcolt
Posted on: 2006-11-12 08:54:00

Thanks for the hint. The error seems to be:

dispatch.cgi:3:in `require': no such file to load -- ./../config/environment (LoadError)

there is an environment.rb file, and a directory called environments

Any suggestions?

New Student of Rails, ROR, AJAX, & SEO

Re: New Ruby on Rails Application Error

Posted by: SubFuze
Posted on: 2006-11-15 21:59:00

I'm experiencing the same thing - does anyone have any insight?

Re: New Ruby on Rails Application Error

Posted by: fuzzyfree
Posted on: 2006-11-21 12:09:00

First, it appears you are using dispatch.cgi, you need to be using dispatch.fcgi.

Enable FastCGI for your domain in your control panel and modify your .htaccess to point at dispatch.fcgi.

When I get back home I will take a look more at the instructions you used to do the install, it is probably something to do with modifications to the structiure of your rails app.

Tags: ruby on railsssh sessiondreamhostrori do not knowindex pagewikiapplication error