Skip to content

Instantly share code, notes, and snippets.

@rajeevkannav
Forked from Irio/gist:1496746
Created November 19, 2012 12:37
Show Gist options
  • Save rajeevkannav/4110435 to your computer and use it in GitHub Desktop.
Save rajeevkannav/4110435 to your computer and use it in GitHub Desktop.
Solution for "cannot load such file -- openssl" on RVM
When I tried run "rake test", I received:
rake aborted!
cannot load such file -- openssl
Tasks: TOP => test:units => test:prepare => db:test:prepare => db:abort_if_pending_migrations => environment
(See full trace by running task with --trace)
Solution:
$ rvm pkg install openssl
$ rvm remove 1.9.3
$ rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment