Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Don't load an adapter if the gem is not present #8

Closed
wants to merge 1 commit into from

Conversation

seuros
Copy link
Member

@seuros seuros commented May 18, 2014

We could use load

@dhh
Copy link
Member

dhh commented May 18, 2014

Did you see #6? I was thinking more something that would go together with a new adapter setting method. Instead of trying to load everything up front, and just catching if it fails, I'd rather load nothing up front. That way if you do ActiveJob::Base.adapter = :sidekiq, we can fail with a proper "sidekiq missing" error too.

@seuros
Copy link
Member Author

seuros commented May 18, 2014

ok

@seuros seuros closed this May 18, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants