burke / zeus

Boot any rails app in under a second.
MIT License
3.33k stars 231 forks source link

Mac OS M1 segmentation fault #679

Closed vokshirg closed 9 months ago

vokshirg commented 2 years ago

When I try to run any command from console (rosetta enabled) I'm getting 15725 segmentation fault zeus init

How can I run? Thanks!

Javieratapiab commented 2 years ago

Same problem here.

oizuldan commented 2 years ago

+1

johannesengl commented 2 years ago

+1

pecavalheiro commented 2 years ago

I'm having the same issue. This seems related to Go, and not with Ruby. Since this project is quite old, I had the idea of cloning it and trying to rebuild it locally, following the instructions here. So far I haven't managed to make it work (can't make it through the initial make step). I don't know much about Go, but the issues seem to be related to deprecated code, that is not supported by newer versions of Go. I tried to make a few changes but got all kinds of errors. I also tried to run everything inside a Docker container, in order to force old versions, but nothing really worked. The ruby part of it seems to be fine, at least I was recently running Zeus in a Linux machine with ruby 2.7.4, and got no issues at all.

If someone has knowledge of Go and is willing to give it a try, it would be really appreciated :)

For people looking for a temporary alternative, I ended up switching back to Spring + Parallel tests, which is not so good, but better than nothing.

linqueta commented 2 years ago

+1

rfwroo commented 2 years ago

This should help: https://github.com/burke/zeus/pull/680

rfwroo commented 2 years ago

You can build locally using the instructions here (but you'll need a Go toolchain installed): https://github.com/burke/zeus/blob/34450efdeb7637003755b5c5e047f3a385a3ef00/contributing.md#L34

vokshirg commented 2 years ago

You can build locally using the instructions here (but you'll need a Go toolchain installed):

https://github.com/burke/zeus/blob/34450efdeb7637003755b5c5e047f3a385a3ef00/contributing.md#L34

Couldn't build on M1, go@1.18. Could you writte a little instruction please, I'm noob in go

 ~/zeus 
❯ make                                                                                                                                                                                      ─╯
go get github.com/kardianos/govendor
ZEUS_TEST_GEMPATH="/Users/dev/zeus/rubygem" GO15VENDOREXPERIMENT=1 govendor test +local
/bin/sh: govendor: command not found
make: *** [test-go] Error 127
❯ echo $GOPATH
/Users/dev/go
staycreativedesign commented 1 year ago

Ugh happening to me as well..

richkettle commented 1 year ago

+1