dzello/jasmine-spec-extras — comment on commit 2a81759d4aa04cc5524e34a7c089ae1640fd9308
File:  line 0
By johnbintz:

Looks good. Can you wrap it in a `begin...rescue...end` that checks to see if Rails is available before creating the engine? Just in case someone decides to accidentally include the library in a non-Rails project.