使用命令启动 Redmine 时ruby script/server -e production
,会引发以下错误:
/usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- initializer (LoadError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /var/www/redmine/config/boot.rb:60:in `load_initializer'
from /var/www/redmine/config/boot.rb:43:in `run'
from /var/www/redmine/config/boot.rb:16:in `boot!'
from /var/www/redmine/config/boot.rb:119
from script/server:2:in `require'
from script/server:2
我已经彻底搜索了我遇到的问题,但无济于事。这个错误的原因是什么?
在此先感谢,丹尼尔