# File lib/echoe/rubygems.rb, line 10 def validate begin old_validate rescue Gem::InvalidSpecificationException if platform =~ /(#{PLATFORM_CROSS_TARGETS.join("|")})/ true else raise Gem::InvalidSpecificationException, "Unknown package target \"#{platform}\"." end end end