LiveZilla Live Help
 


Go Back   Chime Host - Web Hosting Forum > Web Hosting Section > Knowledge Base
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-23-2007, 12:03 AM
Administrator
 
Join Date: Sep 2005
John has disabled reputation
Default Common Rails Deployment and Setup issues

The following are the most common reasons why your application may not be running in our environment using FastCGI.
  1. Verify your /public directory has the permissions of 755
  2. Verify your /public/dispatch.fcgi file has the permissions of 755
  3. Verify the shebang line (first line) of the dispatch.fcgi is set to #!/usr/local/bin/ruby
  4. Verify you have the correct database name and database password in your /config/database.yml
  5. Verify that you have enabled production mode in your environment.rb file by un -commenting this line: ENV['RAILS_ENV'] ||= 'production'
  6. Verify that the RAILS_GEM_VERSION in the environment.rb is set to a version of Rails that is install on your server.
  7. Verify that any needed gems for your application are installed, if your server is missing a gem, simply email support and they will install the gem for you.
  8. Verify that you are not using any puts statements in your code as this causes problems with Apache.
  9. Try changing to your /public directory and run ./dispatch.cgi and see if it returns any coding errors with your environment.
  10. Check your /log/production.log or development.log for any coding error messages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can someone tell me what I should say (cold calling) for prospective clients, im Propoganda Business and Finance Forum 1 02-20-2010 03:38 PM
Having problems with HTML tables? ieric23 HTML/CSS/DHTML 1 01-24-2010 04:38 AM
PHP and SQL Update help? Brandizzle PHP 0 01-11-2010 07:48 PM
swollen tonsils? difficulty swallowing anything? kErOro<3 Health Section 0 12-31-2009 03:31 AM
GIF Animator Software vs. Javascript Animations? matt Javascript 1 12-12-2009 03:28 AM


All times are GMT +1. The time now is 12:00 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ChimeHost, a Profuse Solutions LLC company