开发者

Tutorial for debugging RoR from the shell

开发者 https://www.devze.com 2023-01-19 03:21 出处:网络
I am new to RoR and I am experiencing the 500 server error for a long time without success. I need someone tell me (or link to) how to debug RoR apps from t开发者_如何学Che shell.

I am new to RoR and I am experiencing the 500 server error for a long time without success. I need someone tell me (or link to) how to debug RoR apps from t开发者_如何学Che shell.

My application is redmine and I am trying to host it at hostmonster who tuns rails version 2.3.8


The first thing you should do is look in your log/production.log file in your live app directory. That will contain all the relevant details about your error.

There are certain - very useful - plugins (exception_notification for example) which will email details about errors to you as they occur.


  1. please check your database.yml.
  2. see log: log/development.log
  3. you can debug issue: http://bashdb.sourceforge.net/ruby-debug.html

hope helpful with you!


The latest Redmine trunk runs on Rails 2.3.5

http://www.redmine.org/projects/redmine/repository/entry/trunk/config/environment.rb

which could be causing you problems. Try setting RAILS_GEM_VERSION = '2.3.8' in your environment.rb file... although you may find other bugs crop up!

0

精彩评论

暂无评论...
验证码 换一张
取 消