Skip to content

Instantly share code, notes, and snippets.

@CloCkWeRX
Created November 20, 2012 22:58
Show Gist options
  • Save CloCkWeRX/4121858 to your computer and use it in GitHub Desktop.
Save CloCkWeRX/4121858 to your computer and use it in GitHub Desktop.
deploy@kyle:~/fe/current$ rvm debug pkg install openssl
Fetching openssl-1.0.1c.tar.gz to /home/deploy/.rvm/archives
Extracting openssl-1.0.1c.tar.gz to /home/deploy/.rvm/src
Configuring openssl in /home/deploy/.rvm/src/openssl-1.0.1c.
Compiling openssl in /home/deploy/.rvm/src/openssl-1.0.1c.
Installing openssl to /home/deploy/.rvm/usr
Please note that it's required to reinstall all rubies:
rvm reinstall all --force
Updating openssl certificates
deploy@kyle:~/fe/current$ rvm reinstall 1.9.3 --with-opt-dir=~/.rvm/usr
Removing /home/deploy/.rvm/src/ruby-1.9.3-p327...
/home/deploy/.rvm/rubies/ruby-1.9.3-p327 has already been removed.
Installing Ruby from source to: /home/deploy/.rvm/rubies/ruby-1.9.3-p327, this may take a while depending on your cpu(s)...
ruby-1.9.3-p327 - #downloading ruby-1.9.3-p327, this may take a while depending on your connection...
ruby-1.9.3-p327 - #extracting ruby-1.9.3-p327 to /home/deploy/.rvm/src/ruby-1.9.3-p327
ruby-1.9.3-p327 - #extracted to /home/deploy/.rvm/src/ruby-1.9.3-p327
ruby-1.9.3-p327 - #configuring
ruby-1.9.3-p327 - #compiling
ruby-1.9.3-p327 - #installing
Removing old Rubygems files...
Installing rubygems-1.8.24 for ruby-1.9.3-p327 ...
Installation of rubygems completed successfully.
Saving wrappers to '/home/deploy/.rvm/bin'.
ruby-1.9.3-p327 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.3-p327 - #importing default gemsets (/home/deploy/.rvm/gemsets/)
Install of ruby-1.9.3-p327 - #complete
Making gemset ruby-1.9.3-p327 pristine.
Making gemset ruby-1.9.3-p327@global pristine.
deploy@kyle:~/fe/current$ rvm use 1.9.3
Using /home/deploy/.rvm/gems/ruby-1.9.3-p327
deploy@kyle:~/fe/current$ bundle
Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your
Gemfile from 'https' to 'http'. Instructions for compiling with OpenSSL
using RVM are available at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment