Create the Rails Engine only if it's a Rails application.

This commit is contained in:
Josh Dzielak 2011-12-16 21:45:58 -08:00
parent 0e3d40c499
commit 4db143c2e0

View File

@ -0,0 +1,8 @@
begin
require 'rails'
module JasmineSpecExtras
class Engine < Rails::Engine
end
end
rescue LoadError => e
end