当我运行 RAILS_ENV=production bundle exec rake assets:precompile 我得到:
Rake aborted!
no such file to load -- gelf
Tasks: TOP => environment
(See full trace by running task with --trace)
rake aborted!
如果我使用 --trace 运行它,我会得到:
** Invoke assets:precompile:all (first_time)
** Execute assets:precompile:all
** Invoke assets:precompile:primary (first_time)
** Invoke assets:environment (first_time)
** Execute assets:environment
** Invoke environment (first_time)
** Execute environment
rake aborted!
no such file to load -- gelf
/Users/gareth/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/gareth/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `block in require'
/Users/gareth/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:236:in `load_dependency'
/Users/gareth/.rvm/gems/ruby-1.9.2-p320/gems/activesupport-3.2.3/lib/active_support/dependencies.rb:251:in `require'
/Users/gareth/enghance/config/initializers/graylog.rb:1:in `<top (required)>'
我还没有找到任何解决方案,或者有同样错误的问题,所以我认为这可能是一些基本的问题。
有没有人遇到过同样的问题并解决了或者知道出了什么问题?