kares / jruby-rack-worker

Thread-ed Background Workers on top of JRuby::Rack
Apache License 2.0
53 stars 15 forks source link

full delayed_job example using Rails #14

Closed ffabreti closed 8 years ago

ffabreti commented 10 years ago

It would be nice to have a full example of jruby-rack-worker using Rails, so that newbies (like me) could get up and running quickly. Things I had to figure it out: 1) you have to put start_worker.rb in config/initializers 2) you have to put jruby_worker.rb in delayed/lib directory

It's not clear to me: 3) if web.xml works only in production environment 4) where to set ENV variables

Thanks for your software! regards,