The Zeus gem https://github.com/burke/zeus works as expected on MacOSX, however, on a Linux box it exhibits the issues described (and unresolved) here: https://github.com/burke/zeus/issues/237
Using:
- Rbenv with ruby 1.9.3-p327-perf
- Ubuntu 13.04
- golang version 2:1.0.2-2 (according to "dpkg -l")
- Tried several zeus releases
Problem
Terminal: "zeus start" gives "exit status 1" briefly, then the colourful terminal interface shifts down one line and it hangs, all lines "waiting" (coloured yellow).
Troubleshooting so far
Terminal:
sudo apt-get install golang
(On MacOSX it was "brew install go")
gem install zeus -v 0.13.3.rc2 --pre
(Have also tried "gem install zeus -v 0.13.3.rc2" and "gem install zeus" with a gem uninstall and recreation of initialisation files zeus.json and custom_plan.rb each time)
gem list
(One version of Zeus installed)
bundle show
(Zeus not bundled, as expected)
zeus init
(Also tried alternatively removing zeus.json and custom_plan.rb)
Update
Also not working on MacOSX on colleague's machine:
> sudo brew install go
Warning: go-1.0.3 already installed
> gem list
*** LOCAL GEMS ***
method_source (0.8.1)
zeus (0.13.3)
> rbenv version
1.9.3-p327-perf
Update2
Ok so I have ssh access to a Linux box (Ubuntu) which has got Zeus working on it with the same codebase. What diagnostics can I use to determine/compare what it has different to my local machine? I'm looking into dpkg --get-selections for now
Update3
gem list
was showing the installed json version (1.5.4).
bundle show
was showing the installed json version (1.7.7).
An update on the issue here https://github.com/burke/zeus/issues/237 suggests that json version could be the problem; given that zeus is installed with the ruby version and not with the gemfile (it shows under gem list) I ran:
gem install json --version 1.7.7
gem uninstall json --version 1.5.4
rm zeus.json
rm custom_plan.rb
zeus init
zeus start
However this does not fix the problem for me, and on the mac where it is failing, Json 1.7.7 is installed.