启动Redmine,Debian / Apache2的错误

时间:2012-09-02 18:58:46

标签: ruby-on-rails ruby redmine

使用命令ruby script/server -e production启动Redmine时,会引发以下错误:

/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

我已经彻底搜寻了我遇到的问题,但无济于事。这个错误的原因是什么?

先谢谢,Daniel

1 个答案:

答案 0 :(得分:0)

您的Rails gem存在问题。

问题可以在Redmine wiki上找到here

很可能你没有安装启动/运行服务器所需的一些宝石。

假设您已安装bundler,请从redmine根目录运行bundle install