aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/builder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/builder.rb')
-rw-r--r--activesupport/lib/active_support/builder.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/builder.rb b/activesupport/lib/active_support/builder.rb
index 321e462acd..3fa7e6b26d 100644
--- a/activesupport/lib/active_support/builder.rb
+++ b/activesupport/lib/active_support/builder.rb
@@ -1,5 +1,7 @@
+# frozen_string_literal: true
+
begin
- require 'builder'
+ require "builder"
rescue LoadError => e
$stderr.puts "You don't have builder installed in your application. Please add it to your Gemfile and run bundle install"
raise e