Header

  1. View current page

    Dotty's Autumn Note

Profile_img_60x60_01
1

Ruby on Rails

기본 사이트

API 문서

참고 사이트

환경 셋업 및 에디터

플러그인 및 이것저것

디버깅 관련

호스팅

app 돌리기 관련


출처: http://wiki.railsplayground.com/railsplayground/show/Common+Rails+Deployment+and+Setup+issues

  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.

한국의 루비스트

History

Last edited on 04/03/2007 14:24 by dotty

Comments (0)

You must log in to leave a comment. Please sign in.