Permalink
Browse files

Add install option --no-cache to prevent updating the cache.

  • Loading branch information...
1 parent dc45d0d commit 4601ddeaaddf2671ecc2baa24f49d9e59e7fcfcb @indirect indirect committed May 12, 2010
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/bundler/cli.rb
View
@@ -85,8 +85,10 @@ def check
"Do not use any shared gems, such as the system gem repository."
method_option "gemfile", :type => :string, :banner =>
"Use the specified gemfile instead of Gemfile"
- method_option "no-prune", :type => :boolean, :banner =>
+ method_option "no-prune", :type => :boolean, :banner =>
"Don't remove stale gems from the cache."
+ method_option "no-cache", :type => :boolean, :banner =>
+ "Don't update the existing gem cache."
def install(path = nil)
opts = options.dup
opts[:without] ||= []

0 comments on commit 4601dde

Please sign in to comment.