Flowdock
method

check_version

Importance_0
v2_5_5 - Show latest stable - 0 notes - Class: InstallCommand
check_version() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rubygems/commands/install_command.rb, line 134
  def check_version # :nodoc:
    if options[:version] != Gem::Requirement.default and
         get_all_gem_names.size > 1 then
      alert_error "Can't use --version w/ multiple gems. Use name:ver instead."
      terminate_interaction 1
    end
  end
Register or log in to add new notes.