Permalink
Browse files

Remove options[:system_gems]

  • Loading branch information...
1 parent 00e6b9c commit 17d8eb1bba2a11b5ef38fbdf50d62b2e4f4c21da Carl Lerche committed Dec 16, 2009
Showing with 2 additions and 2 deletions.
  1. +0 −1 lib/bundler/bundle.rb
  2. +1 −0 lib/bundler/environment.rb
  3. +1 −1 lib/bundler/templates/environment.erb
@@ -33,7 +33,6 @@ def install(options = {})
update = options[:update]
cached = options[:cached]
- options[:system_gems] = @environment.system_gems
options[:manifest] = @environment.filename
options[:no_bundle] = no_bundle
# ==========
@@ -67,6 +67,7 @@ def gem_dependencies
end
alias rubygems? rubygems
+ alias system_gems? system_gems
private
@@ -3,7 +3,7 @@ module Bundler
file = File.expand_path(__FILE__)
dir = File.dirname(file)
-<% unless options[:system_gems] -%>
+<% unless system_gems? -%>
ENV["GEM_HOME"] = dir
ENV["GEM_PATH"] = dir
<% end -%>

0 comments on commit 17d8eb1

Please sign in to comment.