Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove options[:system_gems]

  • Loading branch information...
commit 17d8eb1bba2a11b5ef38fbdf50d62b2e4f4c21da 1 parent 00e6b9c
Carl Lerche authored
View
1  lib/bundler/bundle.rb
@@ -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
# ==========
View
1  lib/bundler/environment.rb
@@ -67,6 +67,7 @@ def gem_dependencies
end
alias rubygems? rubygems
+ alias system_gems? system_gems
private
View
2  lib/bundler/templates/environment.erb
@@ -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 -%>
Please sign in to comment.
Something went wrong with that request. Please try again.