class Gem::Commands::InstallCommand
def check_install_dir # :nodoc:
def check_install_dir # :nodoc: if options[:install_dir] and options[:user_install] then alert_error "Use --install-dir or --user-install but not both" terminate_interaction 1 end end