Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixing regression regarding non-rails frameworks

  • Loading branch information...
commit 1f442d71e46fa64009a452b2174125315c38c8b4 1 parent fda64f6
Steve Klabnik steveklabnik authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/draper.rb
2  lib/draper.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.