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?
Related
I'm struggling to brew install minikube. I don't have any version, but need an older version. I'm trying the familiar way, but get an error:
~ brew install minikube#1.18.1
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "minikube#1.18.1".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
I've tried to do a bit of homework, but still errors:
~ brew install https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 16 formulae.
Traceback (most recent call last):
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of minikube formula file from an arbitrary URL is unsupported! (UsageError)
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of minikube formula file from an arbitrary URL is unsupported! (UsageError)
This must be elementary, but I can't seem to figure this out :(
$brew update-reset
This helped me with the error.
Brew only does creates separate versions for certain formula, and its mostly only the larger ones where they might provide different versions due to backward compatibility and stuff.
You might have some luck with the answers in this question Homebrew install specific version of formula?.
Before running:
brew install https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb
you should execute:
brew unlink minikube
That way you will remove the old minikube links and link the newly installed binary.
If that's still not working than try running:
wget https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb
followed by:
brew install --HEAD -s minikube.rb
I think first you can try to run 'brew install minikube' only, see if you can successfully install it or not. If no error then it's probably your version issue. If still has Error then that might be your local home-brew issues, then you can Try to run 'brew doctor', based on the warning and Error info search in stackoverflow you probably will find out the answer.
Almost all brew commands error with Error: caskroom/cask was moved. Tap homebrew/cask instead. . Here are some commands I ran with output:
$ brew services
Error: caskroom/cask was moved. Tap homebrew/cask instead.
$ brew update
Error: homebrew/homebrew-apache does not exist! Run `brew untap homebrew/homebrew-apache` to remove it.
homebrew/homebrew-dupes does not exist! Run `brew untap homebrew/homebrew-dupes` to remove it.
homebrew/homebrew-php does not exist! Run `brew untap homebrew/homebrew-php` to remove it.
homebrew/homebrew-python does not exist! Run `brew untap homebrew/homebrew-python` to remove it.
homebrew/homebrew-science does not exist! Run `brew untap homebrew/homebrew-science` to remove it.
homebrew/homebrew-versions does not exist! Run `brew untap homebrew/homebrew-versions` to remove it.
$ brew untap homebrew/homebrew-apache
Error: caskroom/cask was moved. Tap homebrew/cask instead.
$ brew tap homebrew/cask
$ brew update
Error: homebrew/homebrew-apache does not exist! Run `brew untap homebrew/homebrew-apache` to remove it.
homebrew/homebrew-dupes does not exist! Run `brew untap homebrew/homebrew-dupes` to remove it.
homebrew/homebrew-php does not exist! Run `brew untap homebrew/homebrew-php` to remove it.
homebrew/homebrew-python does not exist! Run `brew untap homebrew/homebrew-python` to remove it.
homebrew/homebrew-science does not exist! Run `brew untap homebrew/homebrew-science` to remove it.
homebrew/homebrew-versions does not exist! Run `brew untap homebrew/homebrew-versions` to remove it.
$ brew untap homebrew/homebrew-apache
Error: caskroom/cask was moved. Tap homebrew/cask instead.
$ brew config
HOMEBREW_VERSION: 3.1.2
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: bc9b98aa0ba777889218ac51f67ccc76b0be6a28
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 570facf3dbfb7b9cf8e8f73c2cb18d0c3bd8d758
Core tap last commit: 52 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.ZwGWHKEhwY/org.macosforge.xquartz:0
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-
ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit broadwell
Clang: 12.0 build 1200
Git: 2.24.3 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 11.2.3-x86_64
CLT: N/A
Xcode: 12.3
XQuartz: 2.7.9 => /opt/X11
Where does this reference to caskroom/cask come from and how can I fix it? Is there a way to remove caskroom/cask?
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.
I am trying to install watchman on macOS according to the official docs via homebrew.
I am getting the following error:
❯ brew install watchman
Error: automake:
/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/automake.rb:29:
unknown regexp options - har
==> Searching for similarly named formulae... This similarly named formula was found: automake To install it, run: brew install
automake
==> Searching taps... Error: No formulae found in taps.
I did run brew update before that. Also, I did run brew install automake. Neither helped.
Question: What seems to be the problem here? Am I missing dependencies?
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.