lib/gon.rb in gon-2.0.5 vs lib/gon.rb in gon-2.0.6
- old
+ new
@@ -1,5 +1,7 @@
-gem 'blankslate'
+if RUBY_VERSION =~ /9/ && defined?(Jbuilder)
+ gem 'blankslate'
+end
require 'action_view'
require 'action_controller'
require 'gon/helpers'
require 'gon/rabl'
if RUBY_VERSION =~ /9/ && defined?(Jbuilder)