Create the Rails Engine only if it's a Rails application.
This commit is contained in:
parent
0e3d40c499
commit
4db143c2e0
@ -0,0 +1,8 @@
|
|||||||
|
begin
|
||||||
|
require 'rails'
|
||||||
|
module JasmineSpecExtras
|
||||||
|
class Engine < Rails::Engine
|
||||||
|
end
|
||||||
|
end
|
||||||
|
rescue LoadError => e
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user