I’m trying to get going on my first Ruby (v1.9.3p194) project. I’m hosting on Heroku, and using Sinatra along with ActiveRecord. I’m trying to integrate delayed_job into my project, and running into trouble getting rake to recognize jobs:work. (Yes, I know delayed_job typically works with rails, but as I understand it can work without it.)
So far, I’ve installed the delayed_job (3.0.3) and delayed_job_active_record (0.3.2) gems using my gemfile/bundler. Because I don’t have rails, I created my own migration file from the delayed_job readme, and migrated it. I don’t think any of this should be causing my issue.
From all the docs I’ve seen, installing the gems should do the trick. I’ve tried uninstalling and reinstalling them, to no avail. I’m not sure what else to try – perhaps there’s something I need to explicitly include in my rakefile, but I haven’t seen any docs that indicate that.
Any help greatly appreciated.
Maybe I have an actual answer for you.
I made a simple project to get
jobs:workto show up withrake -T:Gemfile
Rakefile
run:
$ bundle installResult: