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
"exit status 1" on startup #237
Comments
Same here. |
Same happens here whenever I have |
Same issue, but I have no
I'd be happy to help dig in, not sure where to start. Is there something else I can provide? |
I've managed to fix this on machine. I'm running homebrew but had no $ brew update
$ brew install go
$ go version
go version go1.0.3 |
I don't have custom plan file, here's my {
"command": "ruby -rubygems -rzeus/rails -eZeus.go",
"plan": {
"boot": {
"default_bundle": {
"development_environment": {
"prerake": {"rake": []},
"console": ["c"],
"generate": ["g"]
},
"test_environment": {
"test_helper": {"test": ["rspec"]}
}
}
}
}
} |
It crashes for me with and without a |
Pretty much the same setup, except I'm running Mountain Lion. |
I also did not have |
Same thing here. Worked for some time, now I get the very same thing. OS X 10.8.2 |
Whenever I get this error it's down to some gem conflicts or other Rails app errors. |
Starting the rails server was ok, but the |
Removing zeus.json fixed it for me, too. 0.13.3.pre2 |
OSX 10.8.2 |
Sounds like this is fixed by removing an old |
Removing a zeus.json doesn't fix it for me, as I don't have one. |
Thanks. Does anyone have suggestions for further troubleshooting steps? |
Likewise, I don't have a |
Is everyone still having this problem with v0.13.3.rc2 (try |
@turadg, In a fresh rails app zeus appears to boot up OK. In our app this problem persists, even though Any ideas where I can start debugging this? Zeus has worked great for me in the past so I'd love to keep using it and I am more than happy to help out. |
Thanks for the correction; I just revised my comment above. For debugging, unfortunately Zeus doesn't yet log any output or indicate why it hangs or crashes. Can you describe a minimal test case that I could try to replicate locally? |
I'm trying to narrow down the cause of the issue by slowly removing initialization code and dependencies from our app, unfortunately it's a huge project and this is taking a while. If I forked zeus myself in order to add some logging, do you have any pointers on a place to start for adding some debugging output? |
@jeffremer Maybe better to start from minimal and build up? Does Zeus work for you on a fresh app? For debugging, you could start with |
Yeah, I tried that. Zeus works for me on a fresh rails app, then after copying over our Gemfile and running bundler, and it still works after slowly starting to add more and more of our app into a fresh app. Didn't really get anywhere with that. I'll give stepping through zeus.rb a try. Thanks. |
Same deal here with p327-perf and no zeus.json and go1.0.3. Interestingly, it works fine for my coworker on the same project. |
I had this problem too. Solved it by removing zeus from my Gemfile. |
I had this problem as well, it seems that I had accidentally removed my |
I removed the zeus gem from my Gemfile and it started working again. The Gemfile had zeus in it since I started using the zeus utility. Not sure what changed. |
This just happened to me as well. I removed my custom_plan and the
Line at the top of the custom_plan.rb. Changing |
There's a lot of "try this" in here, but no actual debugging steps. Here's how you can find the actual issue:
|
@ssoroka-se 👍 👍 👍 👍 ❗ |
@marcpursals |
Still getting this error after trying every possible combination of answers in this issue. Does anyone have an idea of where this bug is comming from? It's been more than two years from the original post and it doesn't seem to be any official solution. |
@marcpursals this worked for me as well. Thanks! |
I had this issue with |
I just got this today. Following @ssoroka-se's advice, I see this:
|
Removing method_source 0.8.2 and using method_source 0.8.1 fixed this issue for me. |
Im still receiving this error, I have a
|
I have found that this can occur when switching gemsets but not exiting the current dir. |
For me, the issue was the json gem. I have zeus installed outside of my app and not in the gemfile.
then
then On CRuby 2.2.5. My Gemfile has the json gem locked to 1.8.6, which I guess matters because of some breaking changes in that version |
@bf4's solution resolved for me in a round-about way. The logs pointed to having multiple versions of pry installed. The Gemfile one was earlier than the system Ruby version. Uninstalling the system Ruby version of pry resolved the issue. |
So, I ran into this same issue, again with versions of gems (pry in particular, but I only went part way down the path of tracking the exact gems) being different in the system and in the Gemfile.lock. I'd previously done a 'bundle update' and even when I re checked out the Gemfile.lock and did a bundle install, the newer versions were being picked up by zeus. For future reference, I solved this by re-installing rvm to clean up my entire path, and then running bundle install. |
For me, the problem was I had coderay 1.12 and 1.11 installed, one for rails5 and another for rails4. I've installed both gems on default gemset and zeus was trying to use coderay 1.12 which caused problem. I found that by running Then I've created another gemset for rails4 only and installed the gems again. Now, it's starting just fine, since I'm using this gemset. I used this guide to create the gemset. It's quite easy https://rvm.io/gemsets/creating |
I'm just leaving this here for other people who might be having the same problem. I'm on My error message didn't say anything about "command": "ruby -rubygems -r./zeus_custom_plan -eZeus.go" to "command": "ruby -r rubygems -r ./zeus_custom_plan -e Zeus.go" And it's now working. |
Hello, |
I'm seeing this:
|
Using ruby 2.5.1 and rails 5, the more recent comments above pointed me to:
which showed a require problem. The ruby line from
which should be
That fixed my issue |
I had the same as @sobrinho (with different versions of method_source) - did these steps which worked:
|
Just came to mention this issue and the solution - suprised its unfixed ... |
@edk pointed out the fix. https://thoughtbot.com/blog/improving-rails-boot-time-with-zeus#set-up |
What I did to fix gem uninstall method_source -v 0.9.2 It's because I had multiple |
Thanks @ssoroka-se for the debugging tip |
This is the real answer. The "exit status 1" is just a symptom of multiple possible causes. In my case, I tried logging and detected that my gem system was broken. I just did 'gem update --system' and I got zeus working again. But most likely this was just for me. |
Seems removing the "wrong" gem version is the only way to go, it's even within bundler official docs https://bundler.io/man/bundle-exec.1.html#RUBYGEMS-PLUGINS |
Hello--
I'm trying to get started with using Zeus in my workflow. My environment is OSX 10.7.5, Ruby 1.9.3-p327, Rails 3.2.11, Zeus version 0.13.2. When I execute "zeus start", I get the status screen with everything in waiting status. At the bottom of the screen, I get "exit status 1" briefly, then the commands shift down one line to cover it up, and it hangs in that state indefinitely. What can I do to troubleshoot?
The text was updated successfully, but these errors were encountered: