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.

Conflicts:

	load_paths.rb
  • Loading branch information...
commit 9ade5870023a427433737325005d47f600105a3a 1 parent a6139b9
@joshk joshk authored fxn committed
Showing with 1 addition and 7 deletions.
  1. +1 −7 load_paths.rb
View
8 load_paths.rb
@@ -2,13 +2,7 @@
require File.expand_path('../.bundle/environment', __FILE__)
rescue LoadError
begin
- # bust gem prelude
- if defined? Gem
- Gem.source_index
- gem 'bundler'
- else
- require 'rubygems'
- end
+ require 'rubygems' unless defined? Gem
require 'bundler'
Bundler.setup
rescue LoadError

0 comments on commit 9ade587

Please sign in to comment.
Something went wrong with that request. Please try again.