Unable to install any ruby versions using RVM in macOS Mojave 10.14.2





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







1















After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM.



I get the following error message related to OpenSSL.



I have latest command line tools (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) and Xcode installed.



rvm install 2.5.1
Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch.
ruby-2.5.1 - #configuring.........................
Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared',
please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.


Got the following message in configure.log:



checking size of long long... configure: error: in `/Users/macuser/.rvm/src/ruby-2.5.1':
configure: error: cannot compute sizeof (long long)
See config.log' for more details









share|improve this question

























  • Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

    – user3033467
    Jan 3 at 15:18











  • Got the same issue even for this.

    – kamal
    Jan 3 at 15:25











  • Please take a moment to review the code formatting guide.

    – anothermh
    Jan 3 at 19:02











  • I recommend you install brew and then run brew install openssl. More here.

    – anothermh
    Jan 3 at 19:08











  • Can you show the output of config.log?

    – Ortomala Lokni
    Jan 3 at 22:19


















1















After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM.



I get the following error message related to OpenSSL.



I have latest command line tools (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) and Xcode installed.



rvm install 2.5.1
Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch.
ruby-2.5.1 - #configuring.........................
Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared',
please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.


Got the following message in configure.log:



checking size of long long... configure: error: in `/Users/macuser/.rvm/src/ruby-2.5.1':
configure: error: cannot compute sizeof (long long)
See config.log' for more details









share|improve this question

























  • Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

    – user3033467
    Jan 3 at 15:18











  • Got the same issue even for this.

    – kamal
    Jan 3 at 15:25











  • Please take a moment to review the code formatting guide.

    – anothermh
    Jan 3 at 19:02











  • I recommend you install brew and then run brew install openssl. More here.

    – anothermh
    Jan 3 at 19:08











  • Can you show the output of config.log?

    – Ortomala Lokni
    Jan 3 at 22:19














1












1








1








After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM.



I get the following error message related to OpenSSL.



I have latest command line tools (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) and Xcode installed.



rvm install 2.5.1
Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch.
ruby-2.5.1 - #configuring.........................
Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared',
please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.


Got the following message in configure.log:



checking size of long long... configure: error: in `/Users/macuser/.rvm/src/ruby-2.5.1':
configure: error: cannot compute sizeof (long long)
See config.log' for more details









share|improve this question
















After upgrading to Mojave 10.14.2 I tried to install any ruby versions using RVM.



I get the following error message related to OpenSSL.



I have latest command line tools (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) and Xcode installed.



rvm install 2.5.1
Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch.
ruby-2.5.1 - #configuring.........................
Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared',
please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.


Got the following message in configure.log:



checking size of long long... configure: error: in `/Users/macuser/.rvm/src/ruby-2.5.1':
configure: error: cannot compute sizeof (long long)
See config.log' for more details






ruby openssl homebrew rvm macos-mojave






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 3 at 19:05









anothermh

3,37931733




3,37931733










asked Jan 3 at 14:33









kamalkamal

63




63













  • Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

    – user3033467
    Jan 3 at 15:18











  • Got the same issue even for this.

    – kamal
    Jan 3 at 15:25











  • Please take a moment to review the code formatting guide.

    – anothermh
    Jan 3 at 19:02











  • I recommend you install brew and then run brew install openssl. More here.

    – anothermh
    Jan 3 at 19:08











  • Can you show the output of config.log?

    – Ortomala Lokni
    Jan 3 at 22:19



















  • Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

    – user3033467
    Jan 3 at 15:18











  • Got the same issue even for this.

    – kamal
    Jan 3 at 15:25











  • Please take a moment to review the code formatting guide.

    – anothermh
    Jan 3 at 19:02











  • I recommend you install brew and then run brew install openssl. More here.

    – anothermh
    Jan 3 at 19:08











  • Can you show the output of config.log?

    – Ortomala Lokni
    Jan 3 at 22:19

















Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

– user3033467
Jan 3 at 15:18





Was intrigued and googled, seems like many people faced the same issue.Does this solve it? superuser.com/a/1309173/934863

– user3033467
Jan 3 at 15:18













Got the same issue even for this.

– kamal
Jan 3 at 15:25





Got the same issue even for this.

– kamal
Jan 3 at 15:25













Please take a moment to review the code formatting guide.

– anothermh
Jan 3 at 19:02





Please take a moment to review the code formatting guide.

– anothermh
Jan 3 at 19:02













I recommend you install brew and then run brew install openssl. More here.

– anothermh
Jan 3 at 19:08





I recommend you install brew and then run brew install openssl. More here.

– anothermh
Jan 3 at 19:08













Can you show the output of config.log?

– Ortomala Lokni
Jan 3 at 22:19





Can you show the output of config.log?

– Ortomala Lokni
Jan 3 at 22:19












0






active

oldest

votes












Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54024339%2funable-to-install-any-ruby-versions-using-rvm-in-macos-mojave-10-14-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f54024339%2funable-to-install-any-ruby-versions-using-rvm-in-macos-mojave-10-14-2%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Can a sorcerer learn a 5th-level spell early by creating spell slots using the Font of Magic feature?

Does disintegrating a polymorphed enemy still kill it after the 2018 errata?

A Topological Invariant for $pi_3(U(n))$