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

Crashed :( #17

Open
michaelblyons opened this issue May 11, 2023 · 3 comments
Open

Crashed :( #17

michaelblyons opened this issue May 11, 2023 · 3 comments

Comments

@michaelblyons
Copy link

$ brew changelog wget
Error: uninitialized constant YAML
/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-changelog/lib/utils.rb:61:in `<top (required)>'
/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-changelog/cmd/changelog.rb:8:in `require_relative'
/usr/local/Homebrew/Library/Taps/danielbayley/homebrew-changelog/cmd/changelog.rb:8:in `<top (required)>'
/usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:10:in `require'
/usr/local/Homebrew/Library/Homebrew/extend/kernel.rb:10:in `require?'
/usr/local/Homebrew/Library/Homebrew/commands.rb:77:in `external_ruby_v2_cmd_path'
/usr/local/Homebrew/Library/Homebrew/brew.rb:93:in `<main>'
@michaelblyons
Copy link
Author

michaelblyons commented Aug 2, 2023

Still getting the original error.

@Zifius
Copy link

Zifius commented Sep 15, 2023

I experience the same issue

@michaelblyons
Copy link
Author

In changelog.rb,

  1. Add require "yaml" at the top.
  2. Remove [String], from YAML.safe_load.
  3. Find all .try\(:(\w+)\) and replace with &.\1.

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

No branches or pull requests

2 participants