Tutorial for debugging RoR from the 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.
- please check your database.yml.
- see log: log/development.log
- 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!
精彩评论