Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit e6f0c24bc3bd03db725e840fa8949f4dbb1e0a72 1 parent d664eba
@joshk joshk authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 load_paths.rb
8 load_paths.rb
@@ -1,8 +1,4 @@
# bust gem prelude
-if defined? Gem
- gem 'bundler'
- require 'rubygems'
+require 'rubygems' unless defined? Gem
require 'bundler'
Please sign in to comment.
Something went wrong with that request. Please try again.