defunkt/resque — pull request #445 by BMorearty (2011-11-04 20:16:38+00:00)
Title: Make the resque demo work under Ruby 1.9

These two little changes make the resque demo work under ruby 1.9 (which by default does not include the current directory in `$LOAD_PATH`).

Without this change, running `rake` in the `demo` directory fails:

```bash
~/code/resque/examples/demo[master]$ rake -T
rake aborted!
cannot load such file -- job

(See full trace by running task with --trace)

~/code/resque/examples/demo[master]$ VERBOSE=true QUEUE=default rake resque:work
rake aborted!
cannot load such file -- job

(See full trace by running task with --trace)
```