remove unreachable ruby 1.x check

This commit is contained in:
Brent Cook 2016-03-18 11:16:44 -05:00
parent 63263773d1
commit 9219efa512
1 changed files with 0 additions and 6 deletions

View File

@ -3,12 +3,6 @@
# Provides some sanity checks against the ruby build and version
#
# Check for ruby 1.x and throw a warning
if (RUBY_VERSION =~ /^1/)
$stderr.puts "*** Ruby 1.x is not supported, please upgrade to Ruby 2.1 or newer."
exit(0)
end
if(RUBY_PLATFORM == 'java')
require 'socket'
s = Socket.new(::Socket::AF_INET, ::Socket::SOCK_STREAM, ::Socket::IPPROTO_TCP)