title: Can't rake:db migrate - Keep getting a 'rake aborted! load error'
body: <p>I installed MySQL using Homebrew (<code>brew install mysql</code>), and then ran <code>$ gem install mysql2</code> .  I'm on a Mac running OSX 10.9.4. </p>
  
  <p>I changed directories into the root of my app, and then try to run the <code>rake db:migrate</code> command, and got this error:
  </p>
  
  <pre><code>Levine_iMac$ rake db:migrate
  rake aborted!
  LoadError: dlopen(/Users/Levine_iMac/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle, 9): Symbol not found: _SSLv2_client_method
    Referenced from: /Users/Levine_iMac/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle
    Expected in: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
   in /Users/Levine_iMac/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle - /Users/Levine_iMac/.rbenv/versions/2.1.1/lib/ruby/2.1.0/x86_64-darwin13.0/openssl.bundle
  /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/config/application.rb:3:in require'
  /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/config/application.rb:3:in &lt;top (required)&gt;'
  /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/Rakefile:4:in &lt;top (required)&gt;'
  (See full trace by running task with --trace)
  Levine_iMac$
  </code></pre>
  
  <p>I tried adding something to my .bash_profile, as described <a href="https://stackoverflow.com/questions/8437455/rake-dbmigrate-mysql">here</a>, but that did not work.</p>
  
  <p>I tried a sudo command as described <a href="https://stackoverflow.com/questions/10557507/rails-mysql-on-osx-library-not-loaded-libmysqlclient-18-dylib">here</a>, but that did not work.</p>
  
  <p>I then tried updating my Ruby version from 2.1.1.. to 2.1.2.., and now I am getting this error when I run rake:db migrate  </p>
  
  <p><code>Levine_iMac$ rake db:migrate 
  rake aborted! cannot load such file -- bundler/setup /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/config/boot.rb:4:in '&lt;top (required)&gt;' /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/config/application.rb:1:in '&lt;top (required)&gt;' /Users/Levine_iMac/Dropbox/Coding/Sandbox/simple_cms2/Rakefile:4:in '&lt;top (required)&gt;' (See full trace by running task with --trace) Levine_iMac$ bundle install rbenv: bundle: command not found The 'bundle' command exists in these Ruby versions: 
  2.1.1 
  Levine_iMac$</code> </p>
  
  <p>Any ideas on how to remedy this?  Thanks.</p>