Permalink
Browse files

Define Bundler constant stub if bundler gem is not installed

  • Loading branch information...
1 parent a5da48d commit 2ce3085e3ceabe688b30f55373b21278c4dca416 @josh josh committed Mar 1, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 load_paths.rb
View
@@ -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

0 comments on commit 2ce3085

Please sign in to comment.