Skip to content

Commit

Permalink
Fixed thoughtbot#69 - installation on Rails 2.3.x projects
Browse files Browse the repository at this point in the history
  • Loading branch information
malept committed Mar 2, 2012
1 parent 8bea3a7 commit 92fd708
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bourbon.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
require "bourbon/generator"

module Bourbon
if defined?(Rails)
if defined?(Rails) && defined?(Rails::Engine)
class Engine < ::Rails::Engine
require 'bourbon/engine'
end
Expand Down

0 comments on commit 92fd708

Please sign in to comment.