aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/vendor/builder.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-09-13 22:55:46 -0500
committerJoshua Peek <josh@joshpeek.com>2009-09-13 22:55:46 -0500
commitb2f0b8cbda74cc89834b2db749fb0fbe44f5d8f2 (patch)
tree05ae73741366a390fd543b67f7080325c8d7525e /activesupport/lib/active_support/vendor/builder.rb
parent6f9e449830902319d3c0897e67d8ac9c89bff39d (diff)
downloadrails-b2f0b8cbda74cc89834b2db749fb0fbe44f5d8f2.tar.gz
rails-b2f0b8cbda74cc89834b2db749fb0fbe44f5d8f2.tar.bz2
rails-b2f0b8cbda74cc89834b2db749fb0fbe44f5d8f2.zip
Rollback AS bundler work and improve activation of vendored dependencies
Diffstat (limited to 'activesupport/lib/active_support/vendor/builder.rb')
-rw-r--r--activesupport/lib/active_support/vendor/builder.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/vendor/builder.rb b/activesupport/lib/active_support/vendor/builder.rb
new file mode 100644
index 0000000000..ad89e6635d
--- /dev/null
+++ b/activesupport/lib/active_support/vendor/builder.rb
@@ -0,0 +1,6 @@
+begin
+ require 'builder'
+rescue LoadError
+ $:.unshift File.expand_path(File.join(File.dirname(__FILE__), 'builder-2.1.2', 'lib'))
+ retry
+end