method

validate_ext_name

ruby latest stable - Class: Bundler::CLI::Gem

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

validate_ext_name()
private

No documentation available.

# File lib/bundler/cli/gem.rb, line 187
    def validate_ext_name
      return unless gem_name.index("-")

      Bundler.ui.error "You have specified a gem name which does not conform to the \n"                         "naming guidelines for C extensions. For more information, \n"                         "see the 'Extension Naming' section at the following URL:\n"                         "http://guides.rubygems.org/gems-with-extensions/\n"
      exit 1
    end