Please sign in to comment.
Explicitly catch a gem load error.
Don't just have a generic rescue block. By default, a paramater-less rescue clause will only catch exceptions that inherit from StandardError. Gem::LoadError doesn't, which means it would never be caught by a blank rescue clause. Signed-off-by: Nick Sieger <firstname.lastname@example.org>
- Loading branch information...