Skip to content

Instantly share code, notes, and snippets.

@ivey
Created November 22, 2010 04:07
Show Gist options
  • Save ivey/709502 to your computer and use it in GitHub Desktop.
Save ivey/709502 to your computer and use it in GitHub Desktop.
This should really be on all commands
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 8e562c7..5cded5d 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -155,6 +155,10 @@ module Bundler
method_option "production", :type => :boolean, :banner =>
"Deprecated, please use --deployment instead"
def install(path = nil)
+ if path == "help"
+ help("install")
+ exit
+ end
opts = options.dup
opts[:without] ||= []
if opts[:without].size == 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment