lib/amp-html.rb in amp-html-0.7.15 vs lib/amp-html.rb in amp-html-0.7.16
- old
+ new
@@ -1,7 +1,7 @@
begin
require 'rails'
-rescue Exception
+rescue Exception => e
warn 'Ensure you are in a Ruby on Rails environment'
end
module AmpHtml