Closed voldemortensen closed 5 years ago
CC @whesse @athomas – should be an easy fix
@voldemortensen, shouldn't that be Hardware::CPU.is_64_bit?
instead of MacOS.is_64_bit?
?
Yes it should. Nice catch!
On Jan 8, 2019, at 21:26, Xiao Di Guan notifications@github.com wrote:
@voldemortensen, shouldn't that be Hardware::CPU.is_64_bit? instead of MacOS.is_64_bit??
Hi, it still gives the error. Isn't it fixed yet?
Same problem here... Perhaps I should downgrade homebrew to get it working?
This is not completely fix yet – Need to update https://github.com/dart-lang/sdk/tree/master/tools/apps/update_homebrew too!
Thanks for the fix!
While upgrading dart I received this error:
Error: dart-lang/dart/dart: undefined method
prefer_64_bit?' for OS::Mac:Module`Upon further investigation I found that the
prefer_64_bit
method has been deprecated. See https://github.com/Homebrew/brew/commit/170c5493a4e3628ed77137215a9ed6328e1a17c8#diff-1c1e64ec9fa3342388d0ddb7a9607ecaThe new way to check is the
is_64_bit
method.