mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00
parent
123bedd295
commit
dd0f0a5e6e
2 changed files with 23 additions and 0 deletions
|
@ -125,6 +125,9 @@ that is a dependency of an existing gem. You can use the
|
|||
def execute
|
||||
check_version
|
||||
|
||||
# Consider only gem specifications installed at `--install-dir`
|
||||
Gem::Specification.dirs = options[:install_dir] if options[:install_dir]
|
||||
|
||||
if options[:all] && !options[:args].empty?
|
||||
uninstall_specific
|
||||
elsif options[:all]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue