aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/builder.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2010-06-01 16:39:05 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2010-06-01 16:39:05 -0500
commitcae25199008bc26d215e7af5558cfcdfdc6ec264 (patch)
tree9b1cd9bf1a2a770af31406652362001460816e5b /activesupport/lib/active_support/builder.rb
parentd57397c4b62b6474ff8eb55bfd763f5e6dcdcd40 (diff)
parenta0bb1dda119a7488b8a4d61b354a64e619b0d1b3 (diff)
downloadrails-cae25199008bc26d215e7af5558cfcdfdc6ec264.tar.gz
rails-cae25199008bc26d215e7af5558cfcdfdc6ec264.tar.bz2
rails-cae25199008bc26d215e7af5558cfcdfdc6ec264.zip
Merge branch 'master' of github.com:rails/rails
Diffstat (limited to 'activesupport/lib/active_support/builder.rb')
-rw-r--r--activesupport/lib/active_support/builder.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/builder.rb b/activesupport/lib/active_support/builder.rb
new file mode 100644
index 0000000000..321e462acd
--- /dev/null
+++ b/activesupport/lib/active_support/builder.rb
@@ -0,0 +1,6 @@
+begin
+ 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
+end