{"id":2550,"date":"2017-12-19T09:44:36","date_gmt":"2017-12-19T15:44:36","guid":{"rendered":"http:\/\/www.mooreds.com\/wordpress\/?p=2550"},"modified":"2019-07-31T06:12:03","modified_gmt":"2019-07-31T12:12:03","slug":"seek-the-golden-comment-zeus-exit-status-1-fix","status":"publish","type":"post","link":"https:\/\/www.mooreds.com\/wordpress\/archives\/2550","title":{"rendered":"Seek The Golden Comment: &#8220;zeus exit status 1&#8221; fix"},"content":{"rendered":"<p>This bit me yesterday, so I wanted to get it written down.\u00a0 <a href=\"https:\/\/github.com\/burke\/zeus\">zeus<\/a> is a preloader that makes running tests faster.\u00a0 It can be a bit finicky about the gems available, even when using rvm.<\/p>\n<p>Yesterday, I tried to upgrade a rails 4.2 app to rails 5.\u00a0 (I failed.)\u00a0 When I checked out my source branch to work on a different issue, ran a <code>bundle install<\/code>, and then a\u00a0<code>zeus start<\/code>, I saw this:<\/p>\n<p><code><br \/>\nzeus rake<br \/>\nzeus runner (alias: r)<br \/>\nzeus console (alias: c)<br \/>\nzeus server (alias: s)<br \/>\nzeus generate (alias: g)<br \/>\nzeus destroy (alias: d)<br \/>\nzeus dbconsole<br \/>\nzeus test (alias: rspec, testrb)<br \/>\nexit status 1<br \/>\n<\/code><\/p>\n<p>And then zeus exited.\u00a0 I did some google searches and turned up these two issues: <a href=\"https:\/\/github.com\/burke\/zeus\/issues\/118\">118<\/a> and <a href=\"https:\/\/github.com\/burke\/zeus\/issues\/237\">237<\/a>. Lots of folks having similar issues.<\/p>\n<p>After reading carefully through these issue, and trying some of the suggested fixes as I did so, I arrived at <a href=\"https:\/\/github.com\/burke\/zeus\/issues\/237#issuecomment-103735729\">the golden comment<\/a>. I reproduce it here in its beautiful entirety:<\/p>\n<blockquote><p>There&#8217;s a lot of &#8220;try this&#8221; in here, but no actual debugging steps. Here&#8217;s how you can find the actual issue:<\/p>\n<p>zeus &#8211;log ZEUS.LOG start then cat ZEUS.LOG<\/p><\/blockquote>\n<p>Excellent!\u00a0 Using this logfile I quickly determined that the root issue was a collision in my <code>json<\/code> gem versions and was able to get <code>zeus<\/code> running again.<\/p>\n<p>But that&#8217;s not really the point. The point is that this user (thank you <a href=\"https:\/\/github.com\/ssoroka-se\">Steven<\/a>!) didn&#8217;t just provide an answer, he provided the means for me to diagnose and find my own answer.<\/p>\n<p>I wish github had some way of calling out highly recommended comments, as if I&#8217;d seen his comment first, it would have saved me some time.<\/p>\n<p>Just goes to show, you should always read the comments fully and look for the golden one when you are troubleshooting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This bit me yesterday, so I wanted to get it written down.\u00a0 zeus is a preloader that makes running tests faster.\u00a0 It can be a bit finicky about the gems [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,77,37],"tags":[],"class_list":["post-2550","post","type-post","status-publish","format-standard","hentry","category-programming","category-rails","category-tips"],"_links":{"self":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2550","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/comments?post=2550"}],"version-history":[{"count":4,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2550\/revisions"}],"predecessor-version":[{"id":2554,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/posts\/2550\/revisions\/2554"}],"wp:attachment":[{"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/media?parent=2550"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/categories?post=2550"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mooreds.com\/wordpress\/wp-json\/wp\/v2\/tags?post=2550"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}