Skip to content

Instantly share code, notes, and snippets.

@localredhead
Forked from Irio/gist:1496746
Created September 4, 2012 03:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save localredhead/3616303 to your computer and use it in GitHub Desktop.
Save localredhead/3616303 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