I get this endless loop when trying to upgrade Ruby through RVM:
Warning, new version of rvm available '1.29.12-next', you are using older version '1.29.3'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/11.2/x86_64/ruby-3.0.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Is there any other methods I can use to do such?
Try doing it using homebrew by running 'brew upgrade ruby'. That should upgrade it to the latest Ruby version.
Related
I am starting out on ruby and still stuck in installation on mac for past two days.
Following this site for rvm installation..
http://rvm.io
Thereafter tried to install ruby using
$ rvm install 3.0.0
gives this output
Checking requirements for osx.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Error: Calling `brew search` with no arguments to output formulae is disabled! Use `brew formulae` instead.
Installing requirements for osx.
Updating system......
Installing required packages: gcc#6, lib.|
Thereafter its stuck..
Stuck on this for past two days.. I am on mac os el-capitan.. What am i doing wrong?
rvm install 2.3.2. While installing the ruby using ram I'm getting the below error.
Screenshot:
Here is the text:
BLRKEC318722D:~ mac_admin$ rvm install ruby-2.3.2
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.12/x86_64/ruby-2.3.2.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Installing requirements for osx.
Updating system.........
Installing required packages: automake, libtool, coreutils, libyaml, readline, libksba....
Error running 'requirements_osx_brew_libs_install automake libtool coreutils libyaml readline libksba',
showing last 15 lines of /Users/mac_admin/.rvm/log/1497866701_ruby-2.3.2/package_install_automake_libtool_coreutils_libyaml_readline_libksba.log
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements
There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/Homebrew/homebrew/wiki/Installation
++ case "$_system_version" in
++ return 1
Requirements installation failed with status: 1.
I'm unable to install Ruby 2.4.0.
RVM version is 1.29.1
Rubygems version is 2.6.11
I'm trying to install Ruby 2.4.0 using:
rvm install ruby-2.4.0
I'm getting the following error:
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.11/x86_64/ruby-2.4.0.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Installing requirements for osx_brew.
Updating system...........
Error running 'requirements_osx_brew_update_system ruby-2.4.0',
showing last 15 lines of /Users/bbc-admin/.rvm/log/1492510247_ruby-2.4.0/update_system.log
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.'
++ rvm_pretty_print stderr
++ case "${rvm_pretty_print_flag:=auto}" in
++ case "${TERM:-dumb}" in
++ case "$1" in
++ [[ -t 2 ]]
++ return 1
++ printf %b 'Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.\n'
Failed to update Homebrew, follow instructions here:
https://github.com/Homebrew/homebrew/wiki/Common-Issues
and make sure `brew update` works before continuing.
++ return 1
Requirements installation failed with status: 1.
Think you may need to update Homebrew; try brew update and then re-try the rvm install ruby-2.4.0 command.
I would have added this as a comment but not enough rep. Let me know how you get on.
When I attempt installation using
rvm install 2.2
or
rvm install ruby-2.2.4
I get the following error when I input rvm use 2.2 or rvm use 2.2.4:
ruby-2.2.4 is not installed.
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.8/x86_64/ruby-2.2.4. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Installing requirements for osx_brew.
Updating system.....
Installing required packages: openssl.......
Error running 'requirements_osx_brew_libs_install openssl', showing last 15 lines of /Users/mikejschorah/.rvm/log/1468093589_ruby-2.2.4/package_install_openssl.log
++ case "$1" in ++ [[ -t 1 ]] ++ return 1
++ printf %b 'There were package installation errors, make sure to read the log. Try brew tap --repair` and make sure brew doctor looks reasonable.
Check Homebrew requirements github.com/Homebrew/homebrew/wiki/Installation\n'
There were package installation errors, make sure to read the log. Try brew tap --repair and make sure brew doctor looks reasonable. Check Homebrew requirements github.com/Homebrew/homebrew/wiki/Installation
++ case "$_system_version" in ++ return 1
Requirements installation failed with status: 1.`
From the unformatted error output it can be seen that rvm cannot install openssl which is a requirement for ruby.
Run this command to install it using brew.
brew install openssl
I need to install ruby 1.8.7 on Mac Os x 10.9. I have run into several problems and have not found the answer. I have X code 5.1.1 and command line tools installed. What ever I do, I always get this same error message:
$ rvm install 1.8.7
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-1.8.7-p374.
It is not possible to build movable binaries for rubies 1.8-1.9.2, but you can do it for your system only.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx_brew.
Installing requirements for osx_brew.
Updating system....
Installing required packages: autoconf, automake, libtool, pkg-config, gcc46, libyaml, readline, libksba, openssl098...
Error running 'requirements_osx_brew_libs_install autoconf automake libtool pkg-config gcc46 libyaml readline libksba openssl098',
showing last 15 lines of /Users/elisabethwork/.rvm/log/1399001508_ruby-1.8.7-p374/package_install_autoconf_automake_libtool_pkg-config_gcc46_libyaml_readline_libksba_openssl098.log
++ case "$1" in
++ [[ -t 1 ]]
++ return 1
++ printf %b 'There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation\n'
There were package installation errors, make sure to read the log.
Try `brew tap --repair` and make sure `brew doctor` looks reasonable.
Check Homebrew requirements https://github.com/mxcl/homebrew/wiki/Installation
++ case "$_system_version" in
++ return 1
Requirements installation failed with status: 1.
$ brew doctor
Your system is ready to brew.
Can you help me? Thank you!
See this bash script which lets you switch between 1.8.7 en 2.0. No RVM, brew or other extra software needed: https://gist.github.com/mipmip/7cfbadfcfa5fabe0ba84
for my case. I previously installed the autoconf libtool module myself and home-brew want to override that. so you have to manually tell brew that.
brew link --overwrite autoconf
...
you should run brew doctor and spend sometime read keywords like: error,build