method

validate_platforms!

validate_platforms!()
public

No documentation available.

# File lib/bundler/definition.rb, line 499
    def validate_platforms!
      return if @platforms.any? do |bundle_platform|
        Bundler.rubygems.platforms.any? do |local_platform|
          MatchPlatform.platforms_match?(bundle_platform, local_platform)
        end
      end

      raise ProductionError, "Your bundle only supports platforms #{@platforms.map(&:to_s)} "          "but your local platforms are #{Bundler.rubygems.platforms.map(&:to_s)}, and "          "there's no compatible match between those two lists."
    end