Browse files

This fixes an issue when bundling to a local path (eg. /vendor/bundle).

If you bundle to a local path bundler is not included in it, so
calling "gem 'bundler'" will fail.


  • Loading branch information...
1 parent d963ef9 commit 20aff013f14e7d4e50908a38ffb0e1ddda094fba @joshk joshk committed with fxn Jul 17, 2011
Showing with 1 addition and 6 deletions.
  1. +1 −6 load_paths.rb
7 load_paths.rb
@@ -1,9 +1,4 @@
# bust gem prelude
-if defined? Gem
- Gem.source_index
- gem 'bundler'
- require 'rubygems'
+require 'rubygems' unless defined? Gem
require 'bundler'

0 comments on commit 20aff01

Please sign in to comment.