Problem with environment

I've got 2 different servers, list of gems,version of ruby are the same, difference only in unit test execution process on one server all works fine but on the other i have such kind of error (whire running unit tests)

NoMethodError: undefined method `use_ssl' for #<Net::HTTP ******net:80 open=false>

trying to find difference for last 2 days can anyone point way to solution, i think this is only configuration issue?

Thanks in advance.

require 'net/https'

... or else sounds like maybe ruby wasn't compiled with SSL support.