Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
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
View
8 load_paths.rb
@@ -1,8 +1,4 @@
# bust gem prelude
-if defined? Gem
- gem 'bundler'
-else
- require 'rubygems'
-end
+require 'rubygems' unless defined? Gem
require 'bundler'
-Bundler.setup
+Bundler.setup
Please sign in to comment.
Something went wrong with that request. Please try again.