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...
joshk committed Jul 17, 2011
1 parent d664eba commit e6f0c24bc3bd03db725e840fa8949f4dbb1e0a72
Showing with 2 additions and 6 deletions.
  1. +2 −6 load_paths.rb
@@ -1,8 +1,4 @@
# bust gem prelude
-if defined? Gem
- gem 'bundler'
- require 'rubygems'
+require 'rubygems' unless defined? Gem
require 'bundler'

0 comments on commit e6f0c24

Please sign in to comment.