Homebrew - Somehow it happened there is no executable openssl System Version OS X El Capitan, version 10.11.5

I installed homebrew and rvm. However, when I try to install anything with rvm (ie. rvm install 2.1.1), it says:

Somehow it happened there is no executable 'openssl',
run 'brew doctor' and make sure latest '' is installed properly.
RVM autolibs is now configured with mode '3' =&gt;
  'Allow RVM to use package manager if found, install missing dependencies.',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit https://rvm.io/rvm/autolibs for more information.
Requirements installation failed with status: 12.


When I run brew doctor it says "Your system is ready to brew". I tried to change the path for Open SSL using export PATH=/usr/local/bin:$PATH and then brew link --force openssl but it still gives me the same error message. When I do which openssl it still says it is located here: /usr/bin/openssl.

Any ideas on what I can do to get the openssl to work with Homebrew?

Full Terminal Below:

Last login: Sun Jan 15 20:36:34 on ttys000
Laurens-MacBook-Pro:~ laurensylvain$ rvm install 2.1.1
Searching for binary rubies, this might take some time.
Found remote file https://rvm_io.global.ssl.fastly.net/binaries/osx/10.11/x86_64/ruby-2.1.1.tar.bz2
Checking requirements for osx.
Installing requirements for osx.
Updating system....
Installing required packages: readline, openssl.
Somehow it happened there is no executable 'openssl',
run 'brew doctor' and make sure latest '' is installed properly.
RVM autolibs is now configured with mode '3' =&gt;
  'Allow RVM to use package manager if found, install missing dependencies.',
please run `rvm autolibs enable` to let RVM do its job or run and read `rvm autolibs [help]`
or visit  for more information.
Requirements installation failed with status: 12.
Laurens-MacBook-Pro:~ laurensylvain$ brew doctor
Your system is ready to brew.
Laurens-MacBook-Pro:~ laurensylvain$ touch ~/.bash_profile; open ~/.bash_profile
Laurens-MacBook-Pro:~ laurensylvain$ source ~/.bash_profile
Laurens-MacBook-Pro:~ laurensylvain$ echo $PATH
/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/laurensylvain/.rvm/bin:/Users/laurensylvain/.rvm/bin
Laurens-MacBook-Pro:~ laurensylvain$ brew link --force openssl
Warning: Refusing to link: openssl
Linking keg-only openssl means you may end up linking against the insecure,
deprecated system OpenSSL while using the headers from Homebrew's openssl.
Instead, pass the full include/library paths to your compiler e.g.:
  -I/usr/local/opt/openssl/include -L/usr/local/opt/openssl/lib
Laurens-MacBook-Pro:~ laurensylvain$ which openssl
/usr/bin/openssl
I've absolutely no idea why this issue happened, but making sure I had the latest OpenSSL worked for me.

$ brew upgrade