Skip to content

Instantly share code, notes, and snippets.

@cpb
Created March 27, 2012 21:51
Show Gist options
  • Save cpb/2220688 to your computer and use it in GitHub Desktop.
Save cpb/2220688 to your computer and use it in GitHub Desktop.
ssh az-staging "cd current ; RAILS_ENV=staging bundle exec rails runner 'puts open(URI.parse(\"https://google.com\"))'"
# Result : /usr/lib64/rubyee/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
ssh az-prod-web1 "cd current ; RAILS_ENV=production bundle exec rails runner 'puts open(URI.parse(\"https://google.com\"))'"
# Result : /usr/lib64/rubyee/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
ssh az-prod-web2 "cd current ; RAILS_ENV=production bundle exec rails runner 'puts open(URI.parse(\"https://google.com\"))'"
# Result : /usr/lib64/rubyee/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (OpenSSL::SSL::SSLError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment