-
Notifications
You must be signed in to change notification settings - Fork 247
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 when using mac M1 running native arm #539
Comments
@uxxman I haven't seen this exact error before, but it feels a lot like the The fix in such cases is to uninstall the gem and reinstall it. As in:
but in this case you might just want to uninstall the entire version of Ruby from |
@ColinDKelley thank you for the prompt response. I have tried uninstalling and reinstalling rb-fsevent but the issue remains. Even uninstalling the ruby and reinstalling it doesn't solve it While researching I found this link https://qiita.com/kazutosato/items/6dea35e97f39d8d13e83#rails%E3%81%AE%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB From google translate the gist is to change this # config.file_watcher = ActiveSupport::EventedFileUpdateChecker
config.file_watcher = ActiveSupport::FileUpdateChecker This indeed resolves the issue but are there any side-effects for this? Does this completely disables listen gem? |
Oh, I see. The problem is in https://github.com/thibaudgg/rb-fsevent/blob/master/bin/fsevent_watch I'm very surprised that's not a native build step. Can you please file a ticket over there? It's easy to spot that it doesn't support the ARM:
Re: this change:
I believe that setting tells Rails to not use |
BTW the |
And it looks like there's already an issue there: as well as a PR: |
Thank you @ColinDKelley. I will follow the issue there 👍🏻 |
rb-fsevent version 0.11.0 has been released with mac M1 support, please give it a try! |
@thibaudgg Excellent! Thank you for letting us know here. |
@ColinDKelley I ran into the same issue and I am using the latest version of listen gem, any plans on updating the gem so it can use |
@shailscript The listen gemspec is already compatible with that version. From the gemspec:
So you can add version
Please respond back here to let us know how that works for you. |
Yeah updating just |
Error Log
The text was updated successfully, but these errors were encountered: