diff options
-rw-r--r-- | activesupport/lib/active_support.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index e7117e22be..94f14ead01 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -25,6 +25,13 @@ $:.unshift(File.dirname(__FILE__)) $:.unshift(File.dirname(__FILE__) + "/active_support/vendor") require 'rubygems' +begin + require 'builder' +rescue LoadError + $stderr.puts 'Builder has been unbundled from Active Support in Rails 2.0.' + $stderr.puts 'Please `gem install builder`' + raise +end require 'active_support/basic_object' |