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:
parent
a5da48d231
commit
2ce3085e3c
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue