有时候为了找到redmine或者plugin的错误,需要得到development.log文件。
按照下面的步骤转换:
在config/environment.rb文件第一行,修改为
ENV[‘RAILS_ENV‘] ||= ‘development‘
production: adapter: mysql2 database: redmine host: localhost username: redmine password: "123456" encoding: utf8 development: adapter: mysql2 database: redmine host: localhost username: root password: "123456" encoding: utf8
redmine 从production工作模式切换到development模式
原文:http://blog.csdn.net/csfreebird/article/details/18235031