RoR burke zeus gem gives exit status 1 when using Ubuntu 13.04

Zeus gem https://github.com/burke/zeus works, as expected, on MacOSX, however in the Linux box it finds problems described (and not resolved) here: https://github.com/burke/zeus/issues / 237

Using:

  • Ruben 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 a short circuit "output status 1", then the colorful interface of the terminal is shifted by one line, and it hangs, all lines are "waiting" (painted in yellow).


Troubleshooting so far

Terminal:

sudo apt-get install golang 

(On macOSX there was a "brew install go")

 gem install zeus -v 0.13.3.rc2 --pre 

(Also tried "gem install zeus -v 0.13.3.rc2" and "gem install zeus" with uninstalling gem and restoring the initialization files zeus.json and custom_plan.rb each time)

 gem list 

(installed one version of Zeus)

 bundle show 

(Zeus is not bound, as expected)

 zeus init 

(Also tried alternatively removing zeus.json and custom_plan.rb)


Update

Also does not work on MacOSX on a colleague:

 > 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 the Linux box (Ubuntu), on which Zeus works with the same code base. What diagnostics can I use to determine / compare that it differs from my local machine? I'm looking for dpkg -get-selection now

Update3

 gem list 

The installed version of json (1.5.4) was shown.

 bundle show 

The installed version of json (1.7.7) was shown.

Updated issue information here https://github.com/burke/zeus/issues/237 suggests that the json problem may be the issue; given that zeus is installed with the ruby ​​version and not with the gemfile (it appears in the gems 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 Mac, where it fails, Json 1.7.7 is installed.

+4
source share
3 answers

I had the same problem, and none of the troubleshooting steps listed for this problem was successful in resolving it for me.

After stretching my hair and face for a long time, I managed to get Zeus to work with the following steps:

  • Remove ALL zeus references from your Gemfile.
  • Run bundle clean --force to remove ALL unused versions of ALL gems from your system. . This seems to be an important part of the fix β€” I don't like finding multiple versions of gems, even if they are not used.
  • Run gem uninstall zeus and uninstall ALL installed versions of zeus.
  • Run gem install zeus to get only the latest version (in my case it was 0.15.1).
  • Run bundle install to make sure all the necessary stones are installed.

After that, I was able to download zeus without problems, for the first time in a week.

+9
source

Based on https://github.com/burke/zeus/issues/237#issuecomment-22081635 , I removed the old stone method_source:

 gem uninstall --all --force method_source gem install method_source 

And it worked.

+1
source

What worked for me was removing zeus from my gemfile. I installed zeus the day before via gem install zeus , but forgot to remove gemfile from my project. Perhaps make sure that when you start zeus start

only one installed version of zeus is available.
+1
source

All Articles