Permalink
Browse files

Fixing regression regarding non-rails frameworks

  • Loading branch information...
1 parent fda64f6 commit 1f442d71e46fa64009a452b2174125315c38c8b4 @steveklabnik steveklabnik committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/draper.rb
View
2 lib/draper.rb
@@ -7,5 +7,5 @@
require 'draper/view_context'
require 'draper/decorated_enumerable_proxy'
require 'draper/rspec_integration' if defined?(RSpec) and RSpec.respond_to?(:configure)
-require 'draper/railtie'
+require 'draper/railtie' if defined?(Rails)

0 comments on commit 1f442d7

Please sign in to comment.