Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix download shell command #115

Closed
AkkeyLab opened this issue Jan 29, 2023 · 7 comments · Fixed by #120
Closed

Fix download shell command #115

AkkeyLab opened this issue Jan 29, 2023 · 7 comments · Fixed by #120
Assignees

Comments

@AkkeyLab
Copy link
Owner

Warning: /opt/homebrew/bin is not in your PATH.
  Instructions on how to configure your shell for Homebrew
  can be found in the 'Next steps' section below.

==> Next steps:
- Run these three commands in your terminal to add Homebrew to your PATH:
    echo '# Set PATH, MANPATH, etc., for Homebrew.' >> /Users/akkeylab/.zprofile
    echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/akkeylab/.zprofile
    eval "$(/opt/homebrew/bin/brew shellenv)"
@AkkeyLab AkkeyLab self-assigned this Jan 29, 2023
@AkkeyLab
Copy link
Owner Author

memo

To activate these completions, add the following to your .zshrc:

  if type brew &>/dev/null; then
    FPATH=$(brew --prefix)/share/zsh-completions:$FPATH

    autoload -Uz compinit
    compinit
  fi

You may also need to force rebuild `zcompdump`:

  rm -f ~/.zcompdump; compinit

Additionally, if you receive "zsh compinit: insecure directories" warnings when attempting
to load these completions, you may need to run this:

  chmod -R go-w '/opt/homebrew/share/zsh'

@AkkeyLab
Copy link
Owner Author

memo

To use asdf, add the following line to your ~/.zshrc:
  . /opt/homebrew/opt/asdf/libexec/asdf.sh

Restart your terminal for the settings to take effect.

zsh completions have been installed to:
  /opt/homebrew/share/zsh/site-functions

@AkkeyLab
Copy link
Owner Author

Downloading ruby-3.2.0.tar.gz...
-> https://cache.ruby-lang.org/pub/ruby/3.2/ruby-3.2.0.tar.gz
Installing ruby-3.2.0...
ruby-build: using readline from homebrew
ruby-build: using gmp from homebrew

BUILD FAILED (macOS 13.2 using ruby-build 20230124)

Inspect or clean up the working tree at /var/folders/x4/krdh4qhs2gd4tsngh98n9dzm0000gn/T/ruby-build.20230129173537.19929.bUFEw9
Results logged to /var/folders/x4/krdh4qhs2gd4tsngh98n9dzm0000gn/T/ruby-build.20230129173537.19929.log

Last 10 log lines:
	Check ext/psych/mkmf.log for more details.
*** Fix the problems, then remove these directories and try again if you want.
Generating RDoc documentation
/private/var/folders/x4/krdh4qhs2gd4tsngh98n9dzm0000gn/T/ruby-build.20230129173537.19929.bUFEw9/ruby-3.2.0/lib/yaml.rb:3: warning: It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
uh-oh! RDoc had a problem:
cannot load such file -- psych

run with --debug for full backtrace
make: *** [rdoc] Error 1
version 3.2.0 is not installed for ruby
ruby 2.6.10p210 (2022-04-12 revision 67958) [universal.arm64e-darwin22]
/Users/akkeylab/mac-auto-setup/setup.sh: line 138: where: command not found
unknown command: ruby. Perhaps you have to reshim?
/Users/akkeylab/mac-auto-setup/setup.sh: line 153: go: command not found
/Users/akkeylab/mac-auto-setup/setup.sh: line 154: where: command not found
/Users/akkeylab/.asdf/installs/golang/1.19.5/go/bin/go
/Users/akkeylab/mac-auto-setup/setup.sh: line 157: go: command not found
/Users/akkeylab/mac-auto-setup/setup.sh: line 158: go: command not found
/Users/akkeylab/mac-auto-setup/setup.sh: line 159: go: command not found

@AkkeyLab
Copy link
Owner Author

installer: This package requires Rosetta 2 to be installed.
                Please install Rosetta 2 and then try again.
                    `sudo softwareupdate --install-rosetta`

installer: Error - AdoptOpenJDK can’t be installed on this computer.
==> Purging files for version 16.0.1,9 of Cask adoptopenjdk
Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=akkeylab USER=akkeylab USERNAME=akkeylab /usr/sbin/installer -pkg /opt/homebrew/Caskroom/adoptopenjdk/16.0.1,9/OpenJDK16U-jdk_x64_mac_hotspot_16.0.1_9.pkg -target /` exited with 1. Here's the output:
installer: This package requires Rosetta 2 to be installed.
                Please install Rosetta 2 and then try again.
                    `sudo softwareupdate --install-rosetta`

installer: Error - AdoptOpenJDK can’t be installed on this computer.

@AkkeyLab
Copy link
Owner Author

Error: Failure while executing; `/usr/bin/sudo -E -- /usr/bin/env LOGNAME=akkeylab USER=akkeylab USERNAME=akkeylab /usr/sbin/installer -pkg /opt/homebrew/Caskroom/google-japanese-ime/latest/GoogleJapaneseInput.pkg -target /` exited with 1. Here's the output:
installer: This package requires Rosetta 2 to be installed.
                Please install Rosetta 2 and then try again.
                    `sudo softwareupdate --install-rosetta`

installer: Error - GoogleJapaneseInput can’t be installed on this computer.

@AkkeyLab
Copy link
Owner Author

RENAME WARNING

Due to prevalent user confusion, the zoomus cask (this one) will be renamed to zoom.
In the meantime, zoomus will install zoom for you as a dependency, but you should update your scripts.

We’re aware this solution is subpar. If you’d like to help us improve it,
we accept PRs and need the equivalent of formula_renames.json for casks: https://docs.brew.sh/Rename-A-Formula

To migrate now, do:
  brew uninstall zoomus
  brew install zoom

==> Downloading https://d11yldzmag5yn.cloudfront.net/prod/5.4.58903.1122.1/Zoom.pkg
curl: (22) The requested URL returned error: 403                              

Error: Download failed on Cask 'zoomus' with message: Download failed: https://d11yldzmag5yn.cloudfront.net/prod/5.4.58903.1122.1/Zoom.pkg

This was referenced Jan 29, 2023
@AkkeyLab
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant