Skip to content

Commit

Permalink
Define Bundler constant stub if bundler gem is not installed
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Mar 1, 2010
1 parent a5da48d commit 2ce3085
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions load_paths.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2ce3085

Please sign in to comment.