1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Define Bundler constant stub if bundler gem is not installed

This commit is contained in:
Joshua Peek 2010-02-28 18:34:57 -06:00
parent a5da48d231
commit 2ce3085e3c

View file

@ -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