diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:34:57 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-02-28 18:34:57 -0600 |
commit | 2ce3085e3ceabe688b30f55373b21278c4dca416 (patch) | |
tree | 45eaeacdca2fda52ebb610efee85924048e59049 /load_paths.rb | |
parent | a5da48d231bf1e4041e149a8d052d8450e41a4e9 (diff) | |
download | rails-2ce3085e3ceabe688b30f55373b21278c4dca416.tar.gz rails-2ce3085e3ceabe688b30f55373b21278c4dca416.tar.bz2 rails-2ce3085e3ceabe688b30f55373b21278c4dca416.zip |
Define Bundler constant stub if bundler gem is not installed
Diffstat (limited to 'load_paths.rb')
-rw-r--r-- | load_paths.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/load_paths.rb b/load_paths.rb index d5f2ca0734..b87e0d7235 100644 --- a/load_paths.rb +++ b/load_paths.rb @@ -6,6 +6,11 @@ rescue LoadError 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 |