Skip to content

Instantly share code, notes, and snippets.

@belguzmani
Forked from Irio/gist:1496746
Created November 3, 2021 17:01
Show Gist options
  • Save belguzmani/bbcfb77ee3542e3f7aae7c89252c569e to your computer and use it in GitHub Desktop.
Save belguzmani/bbcfb77ee3542e3f7aae7c89252c569e 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