Home User CP Browse Members Calendar Register Today!  
Get New posts Faq / Help?
   

Not A Member Yet? Register today and become part of the community.

Go Back   > Hosting Section > Knowledge Base

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2007, 05:03 PM
John
Status: Offline
Administrator
 
Join Date: Sep 2005
Posts: 438
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.
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
What's wrong with the (online) common application? Mike General - Education & Reference 3 07-24-2008 11:02 AM
Ruby on Rails snoop1990 Free Web Hosting Support 23 01-17-2008 11:43 PM
Common Command Console Utilities Windows 2000 liammpease Windows Operating System and Software 1 09-14-2007 08:43 AM
What type of cancer is most common for smokers? Lyn S Conditions, Diseases & Cancer 12 07-07-2007 09:04 PM
How to setup a Rails App? ggraimon Free Web Hosting Support 2 12-09-2006 04:38 AM


All times are GMT -7. The time now is 05:11 AM.

Skin Design By vBSkinworks



Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

Sponsored by Web Hosting


Profuse Solutions LLC

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79