ruby on rails - Error while running jobs:work with RAILS_ENV=production -


i getting following error while running jobs:work rake task rails_env=production option

c:\railsproject>rake jobs:work rails_env=production --trace (in c:/railsproject) ** invoke environment (first_time) ** execute environment ** invoke jobs:work (first_time) ** invoke merb_env (first_time) ** execute merb_env ** invoke environment ** execute jobs:work rake aborted! expected c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/delayed_job-2.0.8/lib/delayed/worker.rb define delayed::worker c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:426:in `load_missing_constant' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:80:in `const_missing_with_dependencies' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/delayed_job-2.0.8/lib/delayed/tasks.rb:13:in `(root)' org/jruby/rubyproc.java:270:in `call' org/jruby/rubyproc.java:220:in `call' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:636:in `execute' org/jruby/rubyarray.java:1620:in `each' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:631:in `execute' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:597:in `invoke_with_call_chain' c:/jruby-1.6.8/lib/ruby/1.8/monitor.rb:191:in `mon_synchronize' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:590:in `invoke_with_call_chain' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:583:in `invoke' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2051:in `invoke_task' c:/jruby-1.6.8/lib/ruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:2029:in `top_level' org/jruby/rubyarray.java:1620:in `each' 

is possible use jobs:work rake task production?


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -