You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. "
I tried reinstalling with --force option too:
$ rvm reinstall 2.6.0 --force
ruby-2.6.0 - #removing src/ruby-2.6.0..
ruby-2.6.0 - #removing rubies/ruby-2.6.0..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.6.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Updating certificates bundle '/usr/local/etc/openssl@1.1/cert.pem'
Requirements installation successful.
Installing Ruby from source to: /Users/mal/.rvm/rubies/ruby-2.6.0, this may take a while depending on your cpu(s)...
ruby-2.6.0 - #downloading ruby-2.6.0, this may take a while depending on your connection...
ruby-2.6.0 - #extracting ruby-2.6.0 to /Users/mal/.rvm/src/ruby-2.6.0.....
ruby-2.6.0 - #configuring.......................................................................
ruby-2.6.0 - #post-configuration.
ruby-2.6.0 - #compiling..................................................................
ruby-2.6.0 - #installing...........
ruby-2.6.0 - #making binaries executable..
ruby-2.6.0 - #downloading rubygems-2.7.8
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 899k 100 899k 0 0 909k 0 --:--:-- --:--:-- --:--:-- 910k
No checksum for downloaded archive, recording checksum in user configuration.
ruby-2.6.0 - #extracting rubygems-2.7.8.....
ruby-2.6.0 - #removing old rubygems........
ruby-2.6.0 - #installing rubygems-2.7.8.....................................
ruby-2.6.0 - #gemset created /Users/mal/.rvm/gems/ruby-2.6.0@global
ruby-2.6.0 - #importing gemset /Users/mal/.rvm/gemsets/global.gems.................there was an error installing gem gem-wrappers
................there was an error installing gem rubygems-bundler
.................there was an error installing gem rake
.................there was an error installing gem rvm
.................there was an error installing gem bundler
.
ruby-2.6.0 - #generating global wrappers................
Error running 'run_gem_wrappers regenerate',
please read /Users/mal/.rvm/log/1546144217_ruby-2.6.0/gemset.wrappers.global.log
ruby-2.6.0 - #gemset created /Users/mal/.rvm/gems/ruby-2.6.0
ruby-2.6.0 - #importing gemsetfile /Users/mal/.rvm/gemsets/default.gems evaluated to empty gem list
ruby-2.6.0 - #generating default wrappers................
Error running 'run_gem_wrappers regenerate',
please read /Users/mal/.rvm/log/1546144217_ruby-2.6.0/gemset.wrappers.default.log
ruby-2.6.0 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Install of ruby-2.6.0 - #complete
Ruby was built without documentation, to build it run: rvm docs generate-ri
Making gemset ruby-2.6.0 pristine............................................................................
Making gemset ruby-2.6.0@global pristine............................................................................
The gemset wrappers log is:
$ more /Users/mal/.rvm/log/1546144217_ruby-2.6.0/gemset.wrappers.global.log
[2018-12-29 23:34:13] run_gem_wrappers
run_gem_wrappers ()
{
gem_install gem-wrappers > /dev/null && gem wrappers "$@" || return $?
}
current path: /Users/mal/.rvm/src/ruby-2.6.0
GEM_HOME=/Users/mal/.rvm/gems/ruby-2.6.0@global
GEM_PATH=/Users/mal/.rvm/gems/ruby-2.6.0@global
PATH=/Users/mal/.rvm/gems/ruby-2.6.0@global/bin:/Users/mal/.rvm/rubies/ruby-2.6.0/bin:/Users/mal/.rvm/bin:/usr/local/opt/coreutils/bin:/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/opt/openssl@1.1/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/Users/mal/.ec2/api/bin:/Users/mal/ruby/dev/spec/mspec/bin:/Users/mal/.bin:/usr/local/Cellar/node/6.8.1/bin:/usr/local/bin
command(2): run_gem_wrappers regenerate
++ gem_install gem-wrappers
++ typeset gem_name gem_version version_check
++ gem_version=
++ __rvm_parse_gems_args gem-wrappers
++ typeset gem=gem-wrappers
++ __rvm_string_match gem-wrappers '*.gem$'
++ typeset _string
++ _string=gem-wrappers
++ shift
++ (( 1 ))
++ case "${_string}" in
++ shift
++ (( 0 ))
++ return 1
++ gem_name=gem-wrappers
++ case "$gem" in
++ [[ -z '' ]]
++ __rvm_db gem_gem-wrappers_version gem_version
++ typeset value key variable
++ key=gem_gem-wrappers_version
++ variable=gem_version
++ value=
++ [[ -f /Users/mal/.rvm/user/db ]]
+++ __rvm_db_ /Users/mal/.rvm/user/db gem_gem-wrappers_version
+++ typeset __db __key __value
+++ __db=/Users/mal/.rvm/user/db
+++ __key=gem_gem-wrappers_version
+++ shift 2
+++ __value=
+++ case "${__value}" in
+++ __rvm_db_get /Users/mal/.rvm/user/db gem_gem-wrappers_version
+++ [[ -f /Users/mal/.rvm/user/db ]]
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d'
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d'
++ value=
++ [[ -z '' ]]
++ [[ -f /Users/mal/.rvm/config/db ]]
+++ __rvm_db_ /Users/mal/.rvm/config/db gem_gem-wrappers_version
+++ typeset __db __key __value
+++ __db=/Users/mal/.rvm/config/db
+++ __key=gem_gem-wrappers_version
+++ shift 2
+++ __value=
+++ case "${__value}" in
+++ __rvm_db_get /Users/mal/.rvm/config/db gem_gem-wrappers_version
+++ [[ -f /Users/mal/.rvm/config/db ]]
+++ __rvm_sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d'
+++ sed -n -e '\#^gem_gem-wrappers_version=# { s#^gem_gem-wrappers_version=##;; p; }' -e '/^$/d'
++ value='>=1.4.0'
++ [[ -n >=1.4.0 ]]
++ [[ -n gem_version ]]
++ eval 'gem_version='\''>=1.4.0'\'''
+++ gem_version='>=1.4.0'
++ true
++ (( 1 == 0 ))
++ gem_install_force
++ typeset __available_gem
++ typeset -a install_params
++ install_params=()
+++ ls -v1 /Users/mal/.rvm/gem-cache/gem-wrappers-.gem
+++ tail -n 1
++ __available_gem=
++ [[ -n '' ]]
++ [[ -n >=1.4.0 ]]
++ install_params+=(-v "${gem_version}")
+++ command gem --version
+++ gem --version
++ __rvm_version_compare 2.7.8 -ge 2.2
++ typeset first
+++ command printf %b '2.7.8\n2.2\n'
+++ __rvm_version_sort
+++ printf %b '2.7.8\n2.2\n'
+++ command head -n1
+++ head -n1
+++ command awk '-F[.-]' -v OFS=. '{ # split on "." and "-", merge back with "."
original=$0 # save original to preserve it before the line is changed
for (n=1; n<10; n++) { # iterate through max 9 components of version
$n=tolower($n) # ignore case for sorting
if ($n == "") $n="0" # treat non existing parts as 0
if ($n ~ /^p[0-9]/) $n=substr($n, 2) # old ruby -p notation
if ($n ~ /^[0-9](rc|b)/) $n=substr($n, 1, 1)". "substr($n, 2) # old jruby 0RC1 notation
if (n == 1 && $n ~ /^[0-9]/) $n="zzz."$n # first group must be a string
if (n > 1 && $n ~ /^[a-z]/) $n=" "$n # names go before numbers thanks to space
}
print $0"\t"original # print the transformed version and original separated by \t
# so we can extract original after sorting
}'
+++ awk '-F[.-]' -v OFS=. '{ # split on "." and "-", merge back with "."
original=$0 # save original to preserve it before the line is changed
for (n=1; n<10; n++) { # iterate through max 9 components of version
$n=tolower($n) # ignore case for sorting
if ($n == "") $n="0" # treat non existing parts as 0
if ($n ~ /^p[0-9]/) $n=substr($n, 2) # old ruby -p notation
if ($n ~ /^[0-9](rc|b)/) $n=substr($n, 1, 1)". "substr($n, 2) # old jruby 0RC1 notation
if (n == 1 && $n ~ /^[0-9]/) $n="zzz."$n # first group must be a string
if (n > 1 && $n ~ /^[a-z]/) $n=" "$n # names go before numbers thanks to space
}
print $0"\t"original # print the transformed version and original separated by \t
# so we can extract original after sorting
}'
+++ LC_ALL=C
+++ sort -t. -k 1,1d -k 2,2n -k 3,3n -k 4,4n -k 5,5n -k 6,6n -k 7,7n -k 8,8n -k 9,9n
+++ awk '-F\t' '{print $2}'
++ first=2.2
++ case "$2" in
++ [[ 2.2 == \h\e\a\d ]]
++ [[ 2.2 == \2\.\2 ]]
++ return 0
++ install_params+=(--no-document)
++ install_params+=($rvm_gem_options)
++ __rvm_log_command 'gem.install.gem-wrappers->=1.4.0' 'installing gem gem-wrappers -v >=1.4.0 --no-document' command gem install gem-wrappers -v '>=1.4.0' --no-document
++ typeset name message _command_start _command_name
++ typeset -a _command
++ name='gem.install.gem-wrappers->=1.4.0'
++ message='installing gem gem-wrappers -v >=1.4.0 --no-document'
++ shift 2
++ _command=("$@")
++ _command_start=command
++ (( 7 ))
++ [[ command == *\=* ]]
++ _command_name=command
++ [[ command != *\=* ]]
++ __function_on_stack __rvm_log_command_internal
++ __rvm_string_includes '__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers __rvm_log_dotted __rvm_log_command_internal __rvm_log_command gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_gemsets __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_reinstall_ruby __rvm_manage_rubies source __rvm_run_wrapper rvm' __rvm_log_command_internal
++ typeset __search '__text=__function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers __rvm_log_dotted __rvm_log_command_internal __rvm_log_command gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_gemsets __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_reinstall_ruby __rvm_manage_rubies source __rvm_run_wrapper rvm'
++ shift
++ for __search in "$@"
++ [[ __function_on_stack __rvm_log_command gem_install_force gem_install run_gem_wrappers __rvm_log_dotted __rvm_log_command_internal __rvm_log_command gemset_initial __rvm_with gemset_create __rvm_initial_gemsets_create_gemsets __rvm_initial_gemsets_create __rvm_install_source ruby_install __rvm_install_ruby __rvm_reinstall_ruby __rvm_manage_rubies source __rvm_run_wrapper rvm == *\ \_\_\r\v\m\_\l\o\g\_\c\o\m\m\a\n\d\_\i\n\t\e\r\n\a\l\ * ]]
++ return 0
++ __rvm_log_command_simple command gem install gem-wrappers -v '>=1.4.0' --no-document
++ __rvm_log_command_debug
+++ __rvm_date '+%Y-%m-%d %H:%M:%S'
+++ date '+%Y-%m-%d %H:%M:%S'
++ printf %b '[2018-12-29 23:34:13] command\n'
++ is_a_function command
++ typeset -f command
++ return 1
++ printf %b 'current path: /Users/mal/.rvm/src/ruby-2.6.0\n'
++ env
++ __rvm_grep -E '^GEM_HOME=|^GEM_PATH=|^PATH='
++ GREP_OPTIONS=
++ command grep -E '^GEM_HOME=|^GEM_PATH=|^PATH='
++ grep -E '^GEM_HOME=|^GEM_PATH=|^PATH='
++ printf %b 'command(7): command gem install gem-wrappers -v >=1.4.0 --no-document\n'
++ rvm_log 'installing gem gem-wrappers -v >=1.4.0 --no-document'
++ [[ '' == 1 ]]
++ printf %b 'installing gem gem-wrappers -v >=1.4.0 --no-document\n'
++ command gem install gem-wrappers -v '>=1.4.0' --no-document
++ gem install gem-wrappers -v '>=1.4.0' --no-document
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
++ return 1
++ return 1
++ return 1
++ return 1
++ return 1
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-454534761\_
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby.
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1. _Originally posted by @efagerberg in rvm/rvm#4562 (comment)_
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1.
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on 10.14.1 and I am on 10.14.2. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue.
They are also on rvm 1.29.4
While I am on rvm 1.29.7
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on `10.14.1` and I am on `10.14.2`. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue. They are also on `rvm 1.29.4` While I am on `rvm 1.29.7` _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-454567973\_
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on 10.14.1 and I am on 10.14.2. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue.
They are also on rvm 1.29.4
While I am on rvm 1.29.7
also seeing this for ruby-2.3.1 worked around it with rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl - calling this gives an error:
Unrecognized command line flag: '--prefix'
But calling rvm reinstall ruby-2.3.1 --with-openssl-dir= and appending the output of brew --prefix openssl did the trick. Thanks!
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> also seeing this for `ruby-2.3.1` worked around it with `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` - calling this gives an error: Unrecognized command line flag: '--prefix' But calling `rvm reinstall ruby-2.3.1 --with-openssl-dir=` and appending the output of `brew --prefix openssl` did the trick. Thanks! _Originally posted by @OlegsBoldirevs in https://github.com/rvm/rvm/issues/4562#issuecomment-455276159\_
@marcandre you may want to make sure that brew has openssl installed and that brew --prefix openssl outputs the correct ssl version for your ruby version.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
@marcandre you may want to make sure that brew has openssl installed and that brew --prefix openssl outputs the correct ssl version for your ruby version.
AuthorLooks ok to me. I even tried again after a brew update && brew upgrade.
$ brew --prefix openssl
/usr/local/opt/openssl
$ ls -al /usr/local/opt/openssl
lrwxr-xr-x 1 mal admin 24 17 Jan 13:17 /usr/local/opt/openssl -> ../Cellar/openssl/1.0.2q
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Looks ok to me. I even tried again after a `brew update && brew upgrade`. $ brew --prefix openssl /usr/local/opt/openssl $ ls -al /usr/local/opt/openssl lrwxr-xr-x 1 mal admin 24 17 Jan 13:17 /usr/local/opt/openssl -> ../Cellar/openssl/1.0.2q _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-455342332\_
I didn't see anything. Of course what doesn't help is that installation succeeds, but it's when actually using it that loading openssl fails. Here's the log
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
I didn't see anything. Of course what doesn't help is that installation succeeds, but it's when actually using it that loading openssl fails. Here's the log
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455647963\_
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode.
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
With 2.4.2 I can successfully see openssl being found $ rvm reinstall 2.4.2 $ ruby -ropenssl -e 'puts OpenSSL::OPENSSL\_VERSION' OpenSSL 1.1.1a 20 Nov 2018 will try 2.6.0 next _Originally posted by @efagerberg in rvm/rvm#4562 (comment)_
also seeing this for ruby-2.3.1 worked around it with rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
with `` works for me
rvm reinstall ruby-2.5.1 --with-openssl-dir=brew --prefix openssl
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> also seeing this for `ruby-2.3.1` worked around it with `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` with `` works for me rvm reinstall ruby-2.5.1 --with-openssl-dir=`brew --prefix openssl` _Originally posted by @fagianijunior in https://github.com/rvm/rvm/issues/4562#issuecomment-460071595\_
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Issue remains for me. I did `rvm get head` and tried reinstalling 2.6.0 with three different commands: rvm reinstall ruby-2.6 rvm reinstall ruby-2.6 --with-openssl-dir=\`brew --prefix openssl\` rvm reinstall ruby-2.6 --with-openssl-dir=\`brew --prefix openssl@1.1\` Could this be reopened please? _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-461415418\_
@pkuczynski You probably meant rvm install 2.6, not 2.5. I don't what has changed, but I'm running into install failures now (instead of installing finishing but openssl not being found later). I opened #4608 instead
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
@pkuczynski You probably meant rvm install 2.6, not 2.5. I don't what has changed, but I'm running into install failures now (instead of installing finishing but openssl not being found later). I opened #4608 instead
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly.
Help / things to check would really be appreciated. Also is it possible to reopen this issue?
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly. Help / things to check would really be appreciated. Also is it possible to reopen this issue? _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-464393743\_
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly.
Help / things to check would really be appreciated. Also is it possible to reopen this issue?
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm, 1.29.7. Had issues with OpenSSL when running a gem install command.
$ gem install bundler
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
My coworker who's running rvm version 1.29.3 did not run into the same issues that I was.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm, `1.29.7`. Had issues with OpenSSL when running a `gem install` command. $ gem install bundler ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources My coworker who's running rvm version `1.29.3` did not run into the same issues that I was. _Originally posted by @ecbrodie in https://github.com/rvm/rvm/issues/4562#issuecomment-484125687\_
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm, 1.29.7. Had issues with OpenSSL when running a gem install command.
$ gem install bundler
ERROR: While executing gem ... (Gem::Exception)
Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
My coworker who's running rvm version 1.29.3 did not run into the same issues that I was.
Follow the recommendations (depends if you use zsh, csh, bash, fish...) In my case (fish):
If you need to have openssl first in your PATH run:
echo 'set -g fish_user_paths "/usr/local/opt/openssl/bin" $fish_user_paths' >> ~/.config/fish/config.fish
For compilers to find openssl you may need to set:
set -gx LDFLAGS "-L/usr/local/opt/openssl/lib"
set -gx CPPFLAGS "-I/usr/local/opt/openssl/include"
For pkg-config to find openssl you may need to set:
set -gx PKG_CONFIG_PATH "/usr/local/opt/openssl/lib/pkgconfig"
I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Ok, I figured out. 1. brew reinstall openssl 2. Follow the recommendations (depends if you use zsh, csh, bash, fish...) In my case (fish): If you need to have openssl first in your PATH run: echo 'set -g fish\_user\_paths "/usr/local/opt/openssl/bin" $fish\_user\_paths' >> ~/.config/fish/config.fish For compilers to find openssl you may need to set: set -gx LDFLAGS "-L/usr/local/opt/openssl/lib" set -gx CPPFLAGS "-I/usr/local/opt/openssl/include" For pkg-config to find openssl you may need to set: set -gx PKG\_CONFIG\_PATH "/usr/local/opt/openssl/lib/pkgconfig" 3. rvm reinstall 2.6.3 --force --with-openssl-dir=/usr/local/opt/openssl I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS. _Originally posted by @ycrepeau in https://github.com/rvm/rvm/issues/4562#issuecomment-487214112\_
Follow the recommendations (depends if you use zsh, csh, bash, fish...) In my case (fish):
If you need to have openssl first in your PATH run:
echo 'set -g fish_user_paths "/usr/local/opt/openssl/bin" $fish_user_paths' >> ~/.config/fish/config.fish
For compilers to find openssl you may need to set:
set -gx LDFLAGS "-L/usr/local/opt/openssl/lib"
set -gx CPPFLAGS "-I/usr/local/opt/openssl/include"
For pkg-config to find openssl you may need to set:
set -gx PKG_CONFIG_PATH "/usr/local/opt/openssl/lib/pkgconfig"
I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS.
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
None of the other suggestions worked for me on Mojave. This worked : export PKG\_CONFIG\_PATH=/usr/local/opt/openssl/lib/pkgconfig rvm install 2.6.3 --with-openssl-dir=/usr/local/opt/openssl --with-openssl-lib=/usr/local/opt/openssl/lib --with-openssl-include=/usr/local/opt/openssl/include _Originally posted by @pchaganti in https://github.com/rvm/rvm/issues/4562#issuecomment-536304690\_
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> None of the other suggestions worked for me on Mojave. This worked : > > > export PKG\_CONFIG\_PATH=/usr/local/opt/openssl/lib/pkgconfig > rvm install 2.6.3 --with-openssl-dir=/usr/local/opt/openssl --with-openssl-lib=/usr/local/opt/openssl/lib --with-openssl-include=/usr/local/opt/openssl/include > Only your solution works for me ! Thanks ! _Originally posted by @cnhuye in https://github.com/rvm/rvm/issues/4562#issuecomment-544333060\_
Also works for 2.6.5. I was having openssl issues causing make to fail without it.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
1 unhelpful comment was automatically hidden. Show
Write Preview
Select a reply ctrl .
There was an error creating your Issue.
Attach files by dragging & dropping, selecting them.
Uploading your files… We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Attaching documents requires write permission to this repository. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Yowza, that’s a big file Try again with a file smaller than 10MB. This file is empty. Try again with a file that’s not empty. This file is hidden. Try again with another file. Something went really wrong, and we can’t process that file. Try again.
Skip to content
In this repository All GitHub ↵
Jump to ↵
No suggested jump to results
In this repository All GitHub ↵
Jump to ↵
In this repository All GitHub ↵
Jump to ↵
Dashboard Pull requests Issues Trending Explore![](https://avatars3.githubusercontent.com/u/47585455?s=60&v=4)
tg-z
Sign out
rvm / rvm
New repository Import repository New gist New organization
This repository
New issue
lost
Edit status
Could not update your status, please try again.
80 remaining
Suggestions:
🌴
On vacation
🤒
Out sick
🏠
Working from home
🎯
Focusing
Busy
When others mention you, assign you, or request your review, GitHub will let them know that you have limited availability.
Clear status
Never
Never
Keep this status until you clear your status or edit your status.
in 30 minutes
in 1 hour
in 4 hours
today
this week
Set status Clear status
Your profile Your repositories Your projects Your stars Your gists
Marketplace
Feature preview
Help Settings
Sign out
Sponsor
Sponsor rvm/rvm
External links
opencollective.com/rvm
Learn more about funding links in repositories.
Report abuse
Notifications
Not watching Be notified only when participating or @mentioned. Watch
Releases only Be notified of new releases, and when participating or @mentioned. Unwatch releases
Watching Be notified of all conversations. Unwatch
Ignoring Never be notified. Stop ignoring
159
962
rvm/rvm
All checks have failed
2 failing checks
ci/circleci: Build Error — Your tests failed on CircleCI
Details
continuous-integration/travis-ci/push — The Travis CI build failed
Details
================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
Code Issues 277 Pull requests 6
Boards
Reports
Actions Releases More Compare Dependencies Commits Branches Security Insights
Code Issues 277 Pull requests 6 Security Pulse Community
New issue
Jump to bottom
Gitpod
installing ruby 2.6.0 can't find openssl on Mojave #4562
Closed
marcandre opened this issue on Dec 29, 2018 · 37 comments
Closed
installing ruby 2.6.0 can't find openssl on Mojave #4562
marcandre opened this issue on Dec 29, 2018 · 37 comments
Milestone
rvm-1.29.8
Comments
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply
View repo at this time
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Dec 29, 2018
|
Description
Can't install Ruby 2.6 or head on Mac OS 10.14.2.
Steps to reproduce
Expected behavior
I expect it to work.
Actual behavior
"Could not load OpenSSL.
You must recompile Ruby with OpenSSL support or change the sources in your Gemfile from 'https' to 'http'. "
I tried reinstalling with
--force
option too:The gemset wrappers log is:
Environment info
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 15
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-454534761\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 15
|
I am having a very similar issue. I thought maybe it has something to do with libressl but I notice that rvm installs it's own openssl library, but that it is not being used when building Ruby.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 15
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1. _Originally posted by @efagerberg in rvm/rvm#4562 (comment)_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 15
|
I actually should clarifyI believe in my case this is specifically an issue with Ruby versions at 2.4 and older. Looking at my debug logs, it appears that osx_brew thinks I need openssl 1.1 when I actually require 1.0 for it to compile correctly. I believe either ruby in rvm should be able to use 1.1 or the package detector should not just assume it needs openssl 1.1.
|
👍 1![](https://avatars3.githubusercontent.com/u/931094?s=88&v=4)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 15
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on
10.14.1
and I am on10.14.2
. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue.They are also on
rvm 1.29.4
While I am on
rvm 1.29.7
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on `10.14.1` and I am on `10.14.2`. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue. They are also on `rvm 1.29.4` While I am on `rvm 1.29.7` _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-454567973\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 15 •
edited
|
Further data, I have a coworker, who also worked on a fresh instance of Mojave, they are on
10.14.1
and I am on10.14.2
. They had no issue installing any ruby versions via rvm. I wonder if that minor version bump of osx is causing this issue.They are also on
rvm 1.29.4
While I am on
rvm 1.29.7
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
seanpcoyle on Jan 15
I also see this with RVM 1.29.7, but not 1.29.4. Reverting back to 1.29.4 with
rvm get 1.29.4
seems to work for the time being.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I also see this with RVM 1.29.7, but not 1.29.4. Reverting back to 1.29.4 with `rvm get 1.29.4` seems to work for the time being. _Originally posted by @seanpcoyle in https://github.com/rvm/rvm/issues/4562#issuecomment-454586598\_
Create issue
View repo at this time
[![](https://avatars1.githubusercontent.com/u/1070089?s=60&v=4)
](/seanpcoyle) seanpcoyle on Jan 15
|
I also see this with RVM 1.29.7, but not 1.29.4. Reverting back to 1.29.4 with
rvm get 1.29.4
seems to work for the time being.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
aaronmallen on Jan 16
also seeing this for
ruby-2.3.1
worked around it withrvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
also seeing this for `ruby-2.3.1` worked around it with `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` _Originally posted by @aaronmallen in https://github.com/rvm/rvm/issues/4562#issuecomment-454874644\_
Create issue
View repo at this time
Highest-rated comment
[![](https://avatars2.githubusercontent.com/u/931094?s=60&v=4)
](/aaronmallen) aaronmallen on Jan 16
|
also seeing this for
ruby-2.3.1
worked around it withrvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
|
👍 15![](https://avatars1.githubusercontent.com/u/24756168?s=88&v=4)
![](https://avatars1.githubusercontent.com/u/464154?s=88&v=4)
![](https://github.com/covard.png?size=27.999999523162842)
![](https://github.com/KamuelaFranco.png?size=27.999999523162842)
![](https://github.com/wateryoma.png?size=27.999999523162842)
![](https://github.com/stuartmclean.png?size=27.999999523162842)
![](https://github.com/sumanawal.png?size=27.999999523162842)
![](https://github.com/romonsalve.png?size=27.999999523162842)
![](https://github.com/Lauren-penner.png?size=27.999999523162842)
![](https://github.com/LinWell.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
OlegsBoldirevs on Jan 17
rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
- calling this gives an error:Unrecognized command line flag: '--prefix'
But calling
rvm reinstall ruby-2.3.1 --with-openssl-dir=
and appending the output ofbrew --prefix openssl
did the trick. Thanks!Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> also seeing this for `ruby-2.3.1` worked around it with `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` - calling this gives an error: Unrecognized command line flag: '--prefix' But calling `rvm reinstall ruby-2.3.1 --with-openssl-dir=` and appending the output of `brew --prefix openssl` did the trick. Thanks! _Originally posted by @OlegsBoldirevs in https://github.com/rvm/rvm/issues/4562#issuecomment-455276159\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/24756168?s=60&v=4)
](/OlegsBoldirevs) OlegsBoldirevs on Jan 17
|
rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl
- calling this gives an error:Unrecognized command line flag: '--prefix'
But calling
rvm reinstall ruby-2.3.1 --with-openssl-dir=
and appending the output ofbrew --prefix openssl
did the trick. Thanks!|
👍 11![](https://github.com/ddhogan.png?size=27.999999523162842)
![](https://github.com/romonsalve.png?size=27.999999523162842)
![](https://github.com/kensk8.png?size=27.999999523162842)
![](https://github.com/Lauren-penner.png?size=27.999999523162842)
![](https://github.com/chandravatiED.png?size=27.999999523162842)
![](https://github.com/Anbranin.png?size=27.999999523162842)
![](https://github.com/juabara.png?size=27.999999523162842)
![](https://github.com/jasoncheow.png?size=27.999999523162842)
![](https://github.com/tyanko1.png?size=27.999999523162842)
![](https://github.com/RudraNilBasu.png?size=27.999999523162842)
![](https://github.com/trueinviso.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 17
You are missing the `` around
brew --prefix openssl
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
You are missing the \
\\
around `brew --prefix openssl` _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455277667\_Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 17 •
edited
|
You are missing the `` around
brew --prefix openssl
|
👍 9![](https://avatars1.githubusercontent.com/u/24756168?s=88&v=4)
![](https://github.com/ajhenriques.png?size=27.999999523162842)
![](https://github.com/sch1111878.png?size=27.999999523162842)
![](https://github.com/stuartmclean.png?size=27.999999523162842)
![](https://github.com/mestrynitya.png?size=27.999999523162842)
![](https://github.com/felipelmota.png?size=27.999999523162842)
![](https://github.com/Anbranin.png?size=27.999999523162842)
![](https://github.com/jasoncheow.png?size=27.999999523162842)
![](https://github.com/tyanko1.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Jan 17
Author
I tried:
I still get "Could not load OpenSSL." error when trying to
bundle
.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I tried:
rvm reinstall 2.6.0 --with-openssl-dir=\`brew --prefix openssl\`
I still get "Could not load OpenSSL." error when trying to `bundle`. _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-455294364\_Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Jan 17 •
edited
|
I tried:
I still get "Could not load OpenSSL." error when trying to
bundle
.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 17
@marcandre you may want to make sure that brew has openssl installed and that
brew --prefix openssl
outputs the correct ssl version for your ruby version.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
@marcandre you may want to make sure that brew has openssl installed and that `brew --prefix openssl` outputs the correct ssl version for your ruby version. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455319200\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 17
|
@marcandre you may want to make sure that brew has openssl installed and that
brew --prefix openssl
outputs the correct ssl version for your ruby version.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Jan 17
AuthorLooks ok to me. I even tried again after a
brew update && brew upgrade
.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Looks ok to me. I even tried again after a `brew update && brew upgrade`.
$ brew --prefix openssl /usr/local/opt/openssl $ ls -al /usr/local/opt/openssl lrwxr-xr-x 1 mal admin 24 17 Jan 13:17 /usr/local/opt/openssl -> ../Cellar/openssl/1.0.2q
_Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-455342332\_Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Jan 17
|
Looks ok to me. I even tried again after a
brew update && brew upgrade
.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 17
You may want to give 1.1 a shot instead of 1.0.2q. I know older versions did not like 1.0.2 maybe newer ones don't like 1.0.2
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
You may want to give 1.1 a shot instead of 1.0.2q. I know older versions did not like 1.0.2 maybe newer ones don't like 1.0.2 _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455343204\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 17
|
You may want to give 1.1 a shot instead of 1.0.2q. I know older versions did not like 1.0.2 maybe newer ones don't like 1.0.2
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
aaronmallen on Jan 17
seems like this is still a bug though right?
rvm
automagically found brew installed openssl before.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
seems like this is still a bug though right? `rvm` automagically found brew installed openssl before. _Originally posted by @aaronmallen in https://github.com/rvm/rvm/issues/4562#issuecomment-455354396\_
Create issue
View repo at this time
[![](https://avatars2.githubusercontent.com/u/931094?s=60&v=4)
](/aaronmallen) aaronmallen on Jan 17
|
seems like this is still a bug though right?
rvm
automagically found brew installed openssl before.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 17
yes either way rvm should detect the right openssl to compile with
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
yes either way rvm should detect the right openssl to compile with _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455355685\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 17
|
yes either way rvm should detect the right openssl to compile with
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Jan 17
Author
I tried
Same result 😢
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I tried
rvm reinstall 2.6.0 --with-openssl-dir=\`brew --prefix openssl@1.1\`
Same result 😢 _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-455362459\_Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Jan 17
|
I tried
Same result 😢
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 18
if you run that with
--debug
do you see anything else of note?Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
if you run that with
--debug
do you see anything else of note? _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455558465\_Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 18
|
if you run that with
--debug
do you see anything else of note?|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Jan 18
Author
I didn't see anything. Of course what doesn't help is that installation succeeds, but it's when actually using it that loading openssl fails.
Here's the log
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
I didn't see anything. Of course what doesn't help is that installation succeeds, but it's when actually using it that loading openssl fails. [Here's the log](https://gist.github.com/marcandre/70625af66da7e9cc8900c95fb727abd3) _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-455578796\_
Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Jan 18
|
I didn't see anything. Of course what doesn't help is that installation succeeds, but it's when actually using it that loading openssl fails.
Here's the log
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 18
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455647963\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 18
|
One thing I noticed is you are using gcc to build Ruby from source in the logs. I can't recall if it was that way when I built 2.6.0 but I would assume you would use the compiler that comes with xcode.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 18
That is also one difference between our environments, I am using xcode 9.4.1 instead of 10
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
That is also one difference between our environments, I am using xcode 9.4.1 instead of 10 _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-455648110\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 18
|
That is also one difference between our environments, I am using xcode 9.4.1 instead of 10
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
kmullin referenced this issue on Jan 18
Fix macOS openssl requirement gathering with Homebrew #4583
Merged
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pkuczynski on Jan 21
Member
Possibly #4583 fixed it. Can anybody try again after
rvm get master
?Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Possibly #4583 fixed it. Can anybody try again after `rvm get master`? _Originally posted by @pkuczynski in https://github.com/rvm/rvm/issues/4562#issuecomment-456036773\_
Create issue
View repo at this time
Member
[![](https://avatars0.githubusercontent.com/u/374864?s=60&v=4)
](/pkuczynski) pkuczynski on Jan 21
|
Possibly #4583 fixed it. Can anybody try again after
rvm get master
?|
👍 1![](https://github.com/dimitrid.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
pkuczynski added this to the rvm-1.29.8 milestone on Jan 21
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 21
With 2.4.2 I can successfully see openssl being found
will try 2.6.0 next
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
With 2.4.2 I can successfully see openssl being found
$ rvm reinstall 2.4.2 $ ruby -ropenssl -e 'puts OpenSSL::OPENSSL\_VERSION' OpenSSL 1.1.1a 20 Nov 2018
will try 2.6.0 next _Originally posted by @efagerberg in rvm/rvm#4562 (comment)_Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 21
|
With 2.4.2 I can successfully see openssl being found
will try 2.6.0 next
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
efagerberg on Jan 21
Confirmed the same for 2.6.0 for my machine thanks for mentioning that recent change @pkuczynski.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Confirmed the same for 2.6.0 for my machine thanks for mentioning that recent change @pkuczynski. _Originally posted by @efagerberg in https://github.com/rvm/rvm/issues/4562#issuecomment-456117536\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/7632073?s=60&v=4)
](/efagerberg) efagerberg on Jan 21
|
Confirmed the same for 2.6.0 for my machine thanks for mentioning that recent change @pkuczynski.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pkuczynski on Jan 21
Member
Great! Sorry for the bug!
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Great! Sorry for the bug! _Originally posted by @pkuczynski in https://github.com/rvm/rvm/issues/4562#issuecomment-456125911\_
Create issue
View repo at this time
Member
[![](https://avatars0.githubusercontent.com/u/374864?s=60&v=4)
](/pkuczynski) pkuczynski on Jan 21
|
Great! Sorry for the bug!
|
👍 1![](https://avatars3.githubusercontent.com/u/931094?s=88&v=4)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
pkuczynski closed this on Jan 21
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
fagianijunior on Feb 3
with `` works for me
rvm reinstall ruby-2.5.1 --with-openssl-dir=
brew --prefix openssl
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> also seeing this for `ruby-2.3.1` worked around it with `rvm reinstall ruby-2.3.1 --with-openssl-dir=brew --prefix openssl` with `` works for me rvm reinstall ruby-2.5.1 --with-openssl-dir=`brew --prefix openssl` _Originally posted by @fagianijunior in https://github.com/rvm/rvm/issues/4562#issuecomment-460071595\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/464154?s=60&v=4)
](/fagianijunior) fagianijunior on Feb 3 •
edited
|
with `` works for me
rvm reinstall ruby-2.5.1 --with-openssl-dir=
brew --prefix openssl
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Feb 7
Author
Issue remains for me.
I did
rvm get head
and tried reinstalling 2.6.0 with three different commands:Could this be reopened please?
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Issue remains for me. I did `rvm get head` and tried reinstalling 2.6.0 with three different commands:
rvm reinstall ruby-2.6 rvm reinstall ruby-2.6 --with-openssl-dir=\`brew --prefix openssl\` rvm reinstall ruby-2.6 --with-openssl-dir=\`brew --prefix openssl@1.1\`
Could this be reopened please? _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-461415418\_Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Feb 7
|
Issue remains for me.
I did
rvm get head
and tried reinstalling 2.6.0 with three different commands:Could this be reopened please?
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pkuczynski on Feb 7
Member
Could you please try:
If it does not work, please provide gist with all logs
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Could you please try:
rvm get master rvm remove 2.6 rvm install 2.5
If it does not work, please provide gist with all logs _Originally posted by @pkuczynski in https://github.com/rvm/rvm/issues/4562#issuecomment-461416548\_Create issue
View repo at this time
Member
[![](https://avatars0.githubusercontent.com/u/374864?s=60&v=4)
](/pkuczynski) pkuczynski on Feb 7
|
Could you please try:
If it does not work, please provide gist with all logs
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Feb 7
Author
@pkuczynski You probably meant
rvm install 2.6
, not2.5
. I don't what has changed, but I'm running into install failures now (instead of installing finishing but openssl not being found later). I opened #4608 insteadPick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
@pkuczynski You probably meant `rvm install 2.6`, not `2.5`. I don't what has changed, but I'm running into install failures now (instead of installing finishing but openssl not being found later). I opened #4608 instead _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-461573293\_
Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Feb 7
|
@pkuczynski You probably meant
rvm install 2.6
, not2.5
. I don't what has changed, but I'm running into install failures now (instead of installing finishing but openssl not being found later). I opened #4608 instead|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pkuczynski on Feb 8
Member
Yeah, I meant
2.6
of course, sorry. I will have a look at #4608Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Yeah, I meant `2.6` of course, sorry. I will have a look at #4608 _Originally posted by @pkuczynski in https://github.com/rvm/rvm/issues/4562#issuecomment-461753433\_
Create issue
View repo at this time
Member
[![](https://avatars0.githubusercontent.com/u/374864?s=60&v=4)
](/pkuczynski) pkuczynski on Feb 8
|
Yeah, I meant
2.6
of course, sorry. I will have a look at #4608|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
marcandre on Feb 16
Author
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly.
Help / things to check would really be appreciated. Also is it possible to reopen this issue?
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly. Help / things to check would really be appreciated. Also is it possible to reopen this issue? _Originally posted by @marcandre in https://github.com/rvm/rvm/issues/4562#issuecomment-464393743\_
Create issue
View repo at this time
Author
[![](https://avatars3.githubusercontent.com/u/33770?s=60&v=4)
](/marcandre) marcandre on Feb 16
|
So... trying to install ruby 2.5.x or 2.4.x leads into errors as #4608, but installing 2.6.x still works, without openssl loaded properly.
Help / things to check would really be appreciated. Also is it possible to reopen this issue?
|
👍 1![](https://avatars3.githubusercontent.com/u/6500?s=88&v=4)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
wernerlaude on Feb 25
rvm reinstall ruby-2.3.1 --with-openssl-dir='/usr/local/opt/openssl'
worked for me..
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
rvm reinstall ruby-2.3.1 --with-openssl-dir='/usr/local/opt/openssl' worked for me.. _Originally posted by @wernerlaude in https://github.com/rvm/rvm/issues/4562#issuecomment-466939019\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/47493?s=60&v=4)
](/wernerlaude) wernerlaude on Feb 25
|
rvm reinstall ruby-2.3.1 --with-openssl-dir='/usr/local/opt/openssl'
worked for me..
|
👍 5![](https://avatars1.githubusercontent.com/u/21096748?s=88&v=4)
![](https://github.com/zanuka.png?size=27.999999523162842)
![](https://github.com/matevsoft.png?size=27.999999523162842)
![](https://github.com/prasanna1211.png?size=27.999999523162842)
![](https://github.com/jakeatwork.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
DRneilC on Mar 5
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> rvm reinstall ruby-2.3.1 --with-openssl-dir='/usr/local/opt/openssl' > worked for me.. _Originally posted by @DRneilC in https://github.com/rvm/rvm/issues/4562#issuecomment-469942337\_
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/21096748?s=60&v=4)
](/DRneilC) DRneilC on Mar 5
|
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pchaganti on Apr 3
👍
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
👍 _Originally posted by @pchaganti in https://github.com/rvm/rvm/issues/4562#issuecomment-479734722\_
Create issue
View repo at this time
[![](https://avatars2.githubusercontent.com/u/6500?s=60&v=4)
](/pchaganti) pchaganti on Apr 3
|
👍
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
ecbrodie on Apr 17
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm,
1.29.7
. Had issues with OpenSSL when running agem install
command.My coworker who's running rvm version
1.29.3
did not run into the same issues that I was.Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm, `1.29.7`. Had issues with OpenSSL when running a `gem install` command.
$ gem install bundler ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild Ruby (preferred) or use non-HTTPS sources
My coworker who's running rvm version `1.29.3` did not run into the same issues that I was. _Originally posted by @ecbrodie in https://github.com/rvm/rvm/issues/4562#issuecomment-484125687\_Create issue
View repo at this time
[![](https://avatars1.githubusercontent.com/u/1844664?s=60&v=4)
](/ecbrodie) ecbrodie on Apr 17
|
Just going to mention that I ran into this issue today while setting up a new workspace for a Ruby project. Installed the latest version of rvm,
1.29.7
. Had issues with OpenSSL when running agem install
command.My coworker who's running rvm version
1.29.3
did not run into the same issues that I was.|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
ycrepeau on Apr 26
Ok, I figured out.
I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Ok, I figured out. 1. brew reinstall openssl 2. Follow the recommendations (depends if you use zsh, csh, bash, fish...) In my case (fish):
If you need to have openssl first in your PATH run: echo 'set -g fish\_user\_paths "/usr/local/opt/openssl/bin" $fish\_user\_paths' >> ~/.config/fish/config.fish For compilers to find openssl you may need to set: set -gx LDFLAGS "-L/usr/local/opt/openssl/lib" set -gx CPPFLAGS "-I/usr/local/opt/openssl/include" For pkg-config to find openssl you may need to set: set -gx PKG\_CONFIG\_PATH "/usr/local/opt/openssl/lib/pkgconfig"
3. rvm reinstall 2.6.3 --force --with-openssl-dir=/usr/local/opt/openssl I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS. _Originally posted by @ycrepeau in https://github.com/rvm/rvm/issues/4562#issuecomment-487214112\_Create issue
View repo at this time
[![](https://avatars3.githubusercontent.com/u/6821466?s=60&v=4)
](/ycrepeau) ycrepeau on Apr 26
|
Ok, I figured out.
I had an older version (2.4.1) where openssl was not a problem. I went to the sources directories and compared the Makefile, the congigure.log etc. The missing part was LDFLAGS and CPPFLAGS.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
pchaganti on Sep 29
None of the other suggestions worked for me on Mojave. This worked :
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
None of the other suggestions worked for me on Mojave. This worked :
export PKG\_CONFIG\_PATH=/usr/local/opt/openssl/lib/pkgconfig rvm install 2.6.3 --with-openssl-dir=/usr/local/opt/openssl --with-openssl-lib=/usr/local/opt/openssl/lib --with-openssl-include=/usr/local/opt/openssl/include
_Originally posted by @pchaganti in https://github.com/rvm/rvm/issues/4562#issuecomment-536304690\_Create issue
View repo at this time
[![](https://avatars2.githubusercontent.com/u/6500?s=60&v=4)
](/pchaganti) pchaganti on Sep 29
|
None of the other suggestions worked for me on Mojave. This worked :
|
👍 2![](https://avatars2.githubusercontent.com/u/486552?s=88&v=4)
![](https://github.com/Teckden.png?size=27.999999523162842)
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
cnhuye 27 days ago
Only your solution works for me ! Thanks !
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
> None of the other suggestions worked for me on Mojave. This worked : > >
> export PKG\_CONFIG\_PATH=/usr/local/opt/openssl/lib/pkgconfig > rvm install 2.6.3 --with-openssl-dir=/usr/local/opt/openssl --with-openssl-lib=/usr/local/opt/openssl/lib --with-openssl-include=/usr/local/opt/openssl/include >
Only your solution works for me ! Thanks ! _Originally posted by @cnhuye in https://github.com/rvm/rvm/issues/4562#issuecomment-544333060\_Create issue
View repo at this time
[![](https://avatars3.githubusercontent.com/u/486552?s=60&v=4)
](/cnhuye) cnhuye 27 days ago
|
Only your solution works for me ! Thanks !
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
gabrielmoterani 9 days ago
Worked for me too! Awsome! Thanks
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Create issue
View repo at this time
[![](https://avatars0.githubusercontent.com/u/22503933?s=60&v=4)
](/gabrielmoterani) gabrielmoterani 9 days ago
|
Worked for me too! Awsome! Thanks
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
This comment has been minimized.
Show comment
Hide comment
Copy link Quote reply
View repo at this time
View repo at this time
skunkworker 9 days ago
Contributor
Also works for 2.6.5. I was having openssl issues causing make to fail without it.
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀 Copy link Quote reply Reference in new issue
Reference in new issue
Repository
rvm Repositories
Title
Body
Also works for 2.6.5. I was having openssl issues causing make to fail without it. _Originally posted by @skunkworker in https://github.com/rvm/rvm/issues/4562#issuecomment-551390175\_
Create issue
View repo at this time
Contributor
[![](https://avatars0.githubusercontent.com/u/2637951?s=60&v=4)
](/skunkworker) skunkworker 9 days ago
|
Also works for 2.6.5. I was having openssl issues causing make to fail without it.
|
Pick your reaction
👍 👎 😄 🎉 😕 ❤️ 🚀 👀
1 unhelpful comment was automatically hidden. Show
Write Preview
Select a reply
ctrl .
There was an error creating your Issue.
Attach files by dragging & dropping, selecting them.![](https://camo.githubusercontent.com/9427b9b3ebab0b4e69b8e8341915e848bee41f1491c81a747d90a7d3500c39dd/68747470733a2f2f6769746875622e6769746875626173736574732e636f6d2f696d616765732f7370696e6e6572732f6f63746f6361742d7370696e6e65722d33322e676966)
Uploading your files… We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Attaching documents requires write permission to this repository. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. We don’t support that file type. Try again with a GIF, JPEG, JPG, PNG, DOCX, GZ, LOG, PDF, PPTX, TXT, XLSX or ZIP. Yowza, that’s a big file Try again with a file smaller than 10MB. This file is empty. Try again with a file that’s not empty. This file is hidden. Try again with another file. Something went really wrong, and we can’t process that file. Try again.
Nothing to preview
Comment
Milestone
rvm-1.29.8
Notifications
Customize
Notification settings
Not subscribed
Only receive notifications from this issue when you have participated or have been @mentioned. Subscribed
Receive all notifications from this issue. Custom
You will only be notified for the events selected from the list below.
If you participate or are @mentioned you will be subscribed.
Closed
Receive a notification when this issue has been closed. Reopened
Receive a notification when this issue has been reopened.
Save Cancel
You’re not receiving notifications from this thread.
Mark as unread
15 participants
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Octotree
Settings
GitHub access token
Hotkeys
Open sidebar on hover
Load entire tree at once
Show in non-code pages
Show file-specific icons
Show pull request changes Note: maximum of 300 files
Apply settings
Loving Octotree? You will love Octotree Pro even more. Octotree Pro is loaded with features that bring your productivity to the next level. Learn more
[Want this sidebar on the right?](https://www.octotree.io/?utm_source=lite&utm_medium=extension&utm_content=Want this sidebar on the right?)
rvm/rvm#4562
The text was updated successfully, but these errors were encountered: