title: Ruby 'Could not load OpenSSL' error macOS Sierra
body: <p>I just downloaded Ruby, Git, Rails, and Homebrew today.
  I installed ruby via rvm v. 1.29.0
  My Ruby is version 2.4.0,
  Rails is 5.0.1.
  My macOS is 10.12 Sierra.</p>
  
  <p>When I tried to make a test app by doing 
      <code>rails new test_app</code>
  it gave me an error:</p>
  
  <pre><code>`Could not load OpenSSL.
  You must recompile Ruby with OpenSSL support or change the sources in your
  Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using
  RVM are available at rvm.io/packages/openssl.`        
      run  bundle exec spring binstub --all
  bundler: command not found: spring
  Install missing gem executables with `bundle install`
  </code></pre>
  
  <p>So I tried a bundle install command, in which the same error </p>
  
  <pre><code>Could not load OpenSSL.
  You must recompile Ruby with OpenSSL support or change the sources in your
  Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL using
  RVM are available at rvm.io/packages/openssl.
  </code></pre>
  
  <p>appeared.</p>
  
  <p>Could you help me figure this one out? I've been looking everywhere on Google and here for possible help, but nothing seems to be working.
  I've tried the <code>rvm pkg install openssl</code> command and reinstalled Ruby, but to no avail. Thanks!</p>