updated ssl auth solution for ruby/rubygems/rvm