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

Error: Invalid formula #365

Closed
insolera opened this issue Apr 10, 2018 · 1 comment
Closed

Error: Invalid formula #365

insolera opened this issue Apr 10, 2018 · 1 comment

Comments

@insolera
Copy link

system: macOS High Sierra 10.13.3
ruby: ruby 2.3.0p0 (2015-12-25 revision 53290) [x86_64-darwin16]
i got this error:

Cloning into '/usr/local/Homebrew/Library/Taps/bramstein/homebrew-webfonttools'...
remote: Counting objects: 11, done.
remote: Compressing objects: 100% (11/11), done.
remote: Total 11 (delta 0), reused 5 (delta 0), pack-reused 0
Unpacking objects: 100% (11/11), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/bramstein/homebrew-webfonttools/sfntly.rb
Calling 'depends_on :ant' is disabled!
Use 'depends_on "ant"' instead.
/usr/local/Homebrew/Library/Taps/bramstein/homebrew-webfonttools/sfntly.rb:7:in `class:Sfntly'
Please report this to the bramstein/webfonttools tap!
Or, even better, submit a PR to fix it!

================

Any help?

@filoxo
Copy link

filoxo commented Apr 11, 2018

This issue stems from the homebrew-webfonttools project, and has an open pull request to fix it bramstein/homebrew-webfonttools#21

Who knows when it'll be fixed, but here's my temporary solution.

  1. cd /usr/local/Homebrew/Library/Taps
  2. git clone https://github.com/bramstein/homebrew-webfonttools.git ./bramstein/homebrew-webfonttools
  3. Modify sfntly.rb to fix the syntax error like in the above PR
  4. brew tap bramstein/webfonttools

@insolera insolera closed this as completed Jun 4, 2020
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