Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

Commit

Permalink
Create the Rails Engine only if it's a Rails application.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshed-io committed Dec 17, 2011
1 parent 0e3d40c commit 4db143c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib/jasmine-spec-extras.rb
@@ -0,0 +1,8 @@
begin
require 'rails'
module JasmineSpecExtras
class Engine < Rails::Engine
end
end
rescue LoadError => e
end

0 comments on commit 4db143c

Please sign in to comment.