-
-
Notifications
You must be signed in to change notification settings - Fork 287
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
App won't build on M1 (arm64) Macbook #1379
Comments
Hi @aarhusgregersen Did you manage to resolve this issue? - I also have the same problem. |
@scopethis unfortunately not :-( |
@aarhusgregersen I'm running the project on an M1, so I'm not sure that it's an architecture issue. What version of ruby are you running, and how did you install it? (asdf, rvm, etc...) I think the top part of that error message is likely to be more informative than the bottom part of it. Can you possibly get the whole thing? |
Same issue on M3. In my case I got this error when using default foreman. After installing overmind (and tmux) it started working. |
Sorry @jagthedrummer I moved away from the project and I can't immediately recall how I wound up with that error, but I'll make sure to drop it if I come back to it, or find an alternative solution. Thanks @matusikm thats a great tip, I'l give that a go next time I'm around the project 🙏 |
just run |
Some users are reporting crashes on MacOS when first trying to access the database. There's an issue open on `ruby-pg` that describes this temporary workaround. ged/ruby-pg#538 Hopefully fixes: #1379
Thanks for that, @fbbergamo! |
I'm hoping that #1573 will prevent this from happening for anyone else. If it does keep giving anybody any problems please feel free to re-open this issue and we'll keep digging. |
As a followup this no longer appears to be an issue with a fresh version of ruby and bullet train :-) There were some missing pieces of documentation (that I think are fair to be implied, but still) such as running Works for me now and no longer seeing any errors! |
I've followed the initial steps of running
bin/configure
,bin/setup
and finallybin/dev
to start the app, with no problems:However, as soon as I visit http://localhost:3000, the app crashes. The log output is MUCH longer than my terminal can handle, but here's the last few lines of it:
I went on to search for that error message and it claims to be a ruby exception (based on what I found here). https://stackoverflow.com/questions/70287369/dont-forget-to-include-the-crash-report-log-file-under-diagnosticreports-direct
However, running either of the recommend commands, does not seem to help the issue for me.
Any suggestions on what I could try out, or what I should be doing?
Additionally, it says nowhere in the docs that you need to run
bin/configure
, but found it mentioned multiple places in issues, as it was implicitly a requirement.Might be worth mentioning so newcomers have a better chance of understanding the tools. I'll be happy to do it, but well.. I'm still a newcomer 🥴
The text was updated successfully, but these errors were encountered: