Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

Allow gem to be required in an alternate way #7

Open
dominicsayers opened this issue Jan 13, 2016 · 0 comments
Open

Allow gem to be required in an alternate way #7

dominicsayers opened this issue Jan 13, 2016 · 0 comments

Comments

@dominicsayers
Copy link
Collaborator

Currently the gem must be required like this:

require 'resque/rate_limited_queue'

but developers might try to declare using the name of the gem in the normal way:

require 'resque-rate_limited_queue'

This can be enabled by adding a resque-rate_limited_queue.rb script in the lib folder that requires the other stuff.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant