Permalink
Browse files

Revert "Merge pull request #2453 from tenderlove/refactor"

This reverts commit afc5660, reversing
changes made to e97ace7.
  • Loading branch information...
1 parent afc5660 commit 867600e61141ca6d0fec939aa716af307cbf9f9f @hone hone committed Apr 24, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/bundler.rb
View
@@ -347,13 +347,14 @@ def configure_gem_home_and_path
blank_home = ENV['GEM_HOME'].nil? || ENV['GEM_HOME'].empty?
if settings[:disable_shared_gems]
ENV['GEM_PATH'] = ''
+ configure_gem_home
elsif blank_home || Bundler.rubygems.gem_dir != bundle_path.to_s
possibles = [Bundler.rubygems.gem_dir, Bundler.rubygems.gem_path]
paths = possibles.flatten.compact.uniq.reject { |p| p.empty? }
ENV["GEM_PATH"] = paths.join(File::PATH_SEPARATOR)
+ configure_gem_home
end
- configure_gem_home
Bundler.rubygems.refresh
bundle_path
end

0 comments on commit 867600e

Please sign in to comment.