This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/ruby | |
require 'rubygems' | |
require 'rubygems/commands/fetch_command' | |
class Gem::Commands::FetchCommand | |
def add_version_option_with_fetch_depends | |
add_version_option_without_fetch_depends | |
add_option('-y', '--[no-]dependencies', | |
"Fetch dependent gems") do |value, options| |