Undefined method `prefer_64_bit?' for OS::Mac:Module


(Emimarz) #1

on Mac OS high sierra 10.13

brew tap blackfireio/homebrew-blackfire

Updating Homebrew…

==> Auto-updated Homebrew!

Updated 1 tap (homebrew/cask).

==> Tapping blackfireio/blackfire

Cloning into ‘/usr/local/Homebrew/Library/Taps/blackfireio/homebrew-blackfire’…

remote: Enumerating objects: 23, done.

remote: Counting objects: 100% (23/23), done.

remote: Compressing objects: 100% (23/23), done.

remote: Total 23 (delta 15), reused 4 (delta 0), pack-reused 0

Unpacking objects: 100% (23/23), done.

Error: Invalid formula: /usr/local/Homebrew/Library/Taps/blackfireio/homebrew-blackfire/Formula/blackfire-agent.rb

blackfire-agent: undefined method `prefer_64_bit?’ for OS::Mac:Module

Error: Cannot tap blackfireio/blackfire: invalid syntax in tap!


(Paulo RR) #2

Having the same problem here… :frowning:

Mac OS 10.14.2


(Jonathan Chang) #3

Thanks for reporting this. I’ve filed https://github.com/Homebrew/brew/pull/5519 to correct this. Note that MacOS.prefer_64_bit? is going away in the next Homebrew release, so I would recommend reporting that issue to the maintainer of the blackfireio/blackfire tap or sending a pull request their way.


(Paulo RR) #4

Thank you for your prompt action. It’s greatly appreciated.


(Emimarz) #5

so, how do I need change that code for the next release, I can’t create a issue in my provider, only pull request


(Mike D) #6

also seeing this when installing Dart SDK


(Sean Molenaar) #7

If your install is in a seperate tap you should file an issue with that tap (or a pull request). If it is in homebrew-core you can create an issue there.