Welcome Guest | Login

Deploying Rails application to subfolder when root is not a Rails app

Hi All,

Just like everyone else, I've done my best to go through the tutorials multiple times before asking for help, but alas I just can't figure out what's wrong.

I'm trying to deploy a new RAILs application to a subfolder of my primary domain. My public_html folder is the root of my web (HTML only).
Steps:
Created a database, assigned a user, uploaded tables, verified access through mysql command line
Created a rails application on the root of my space, aka ~ named arccomp
Mod(ed) the database.yml, enviorment.rb and routes.rb
Created a symbolic link from the ~/arccomp/public to my ~/public_html/arc
Tried various config(s) for the .htaccess file from the standard deploy, to including a RewriteBase /arc

I can, of course, see the index.html file when present under the /arc subfolder, but I always get an error that the RAILs application did not start properly.

If anyone sees a missed step or has some other debugging steps, please let me know.

Robert

2007-11-14 08:36 AM

The shebang lines in your "arccomp" app's dispatch.fcgi and dispatch.rb files were incorrect. I've corrected it now. But I couldn't see the domain which has " arccomp" app as the document root. If you still have any issues you can follow our below tutorials to troubleshoot the issue further.
http://www.hostingrails.com/forums/wiki_thread/15http://www.hostingrails.com/forums/wiki_thread/9http://www.hostingrails.com/forums/deployment_troubleshooting_thread/91http://www.hostingrails.com/forums/wiki_thread/40http://www.hostingrails.com/forums/wiki_thread/7

2007-11-14 09:18 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.