From 2ce3085e3ceabe688b30f55373b21278c4dca416 Mon Sep 17 00:00:00 2001 From: Joshua Peek Date: Sun, 28 Feb 2010 18:34:57 -0600 Subject: [PATCH] Define Bundler constant stub if bundler gem is not installed --- load_paths.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/load_paths.rb b/load_paths.rb index d5f2ca0734ccd..b87e0d723539b 100644 --- a/load_paths.rb +++ b/load_paths.rb @@ -6,6 +6,11 @@ require 'bundler' Bundler.setup rescue LoadError + module Bundler + def self.require(*args, &block); end + def self.method_missing(*args, &block); end + end + %w( actionmailer actionpack