You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundler/lib/bundler/cli/plugin.rb
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -5,14 +5,15 @@ module Bundler
5
5
classCLI::Plugin < Thor
6
6
desc"install PLUGINS","Install the plugin from the source"
7
7
long_desc<<-D
8
-
Install plugins either from the rubygems source provided (with --source option) or from a git source provided with --git. If no sources are provided, it uses Gem.sources
8
+
Install plugins either from the rubygems source provided (with --source option), from a git source provided with --git, or a local path provided with --path. If no sources are provided, it uses Gem.sources
9
9
D
10
10
method_option"source",type: :string,default: nil,banner: "URL of the RubyGems source to fetch the plugin from"
11
11
method_option"version",type: :string,default: nil,banner: "The version of the plugin to fetch"
12
12
method_option"git",type: :string,default: nil,banner: "URL of the git repo to fetch from"
13
13
method_option"local_git",type: :string,default: nil,banner: "Path of the local git repo to fetch from (deprecated)"
14
14
method_option"branch",type: :string,default: nil,banner: "The git branch to checkout"
15
15
method_option"ref",type: :string,default: nil,banner: "The git revision to check out"
16
+
method_option"path",type: :string,default: nil,banner: "Path of a local gem to directly use"
0 commit comments