update rubygems to https and specify ruby version for heroku