Skip to content
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

Zeus crashes #412

Closed
stefanvermaas opened this issue Oct 16, 2013 · 8 comments
Closed

Zeus crashes #412

stefanvermaas opened this issue Oct 16, 2013 · 8 comments

Comments

@stefanvermaas
Copy link

Description of Problem

Zeus crashes after last update. In newly created rails projects zeus works, but in larger projects zeus seems to crash.

System details

  • uname -a:
    Darwin rc11381.lan.nhl.nl 12.5.0 Darwin Kernel Version 12.5.0: Sun Sep 29 13:33:47 PDT 2013; root:xnu-2050.48.12~1/RELEASE_X86_64 x86_64
  • ruby -v:
    ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.4.0]

Steps to Reproduce

  1. zeus start in a new rails project

Observed Behavior

  • Zeus crashes

Expected Behavior

  • Zeus start

Maybe useful:

# Gemfile
source 'https://rubygems.org'

# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.0'
gem 'pg'
gem 'therubyracer', platforms: :ruby
gem 'jquery-rails'
gem 'handlebars_assets'

# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
gem 'turbolinks'
gem 'jquery-turbolinks'
gem 'dynamic_form'

# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 1.2'

# Assets
gem 'normalize-rails'
gem 'slim-rails', '~> 2.0.1'
gem 'sass-rails', '~> 4.0.0'
gem 'coffee-rails', '~> 4.0.0'
gem 'uglifier', '>= 1.3.0'
gem 'retina_tag', '~> 1.2.2'
gem 'bourbon'
gem 'neat'

group :doc do
  # bundle exec rake doc:rails generates the API under doc/api.
  gem 'sdoc', require: false
end

group :development, :test do
  gem 'debugger'
  gem 'faker' #else dev seeds don't work
  gem 'guard-livereload', require: false
end

group :test do
  gem 'guard-rspec'
  gem 'capybara', '~> 2.0'
  gem 'factory_girl_rails', '~> 4.2'
  gem 'rspec-rails', '~> 2.14'
  gem 'fuubar'
  gem 'cucumber-rails', require: false
  gem 'guard-zeus'
  gem 'guard'
  gem 'guard-bundler'
  gem 'guard-cucumber'
  gem 'rb-inotify', require: false
  gem 'rb-fsevent', require: false
  gem 'rb-fchange', require: false
  gem 'growl'
  gem 'shoulda'
  gem 'simplecov', require: false
end

group :development do
  gem 'quiet_assets'
  gem 'rubocop'
  gem 'rails_best_practices'
  gem 'capistrano'
  gem 'mailcatcher'
end

Cheers.

@localredhead
Copy link

I have this behavior as well.

@latortuga
Copy link
Collaborator

Zeus version?

@stefanvermaas
Copy link
Author

Zeus version 0.13.3.rc2

@davidcelis
Copy link

I'm seeing zeus immediately crash on my rails app but, for some reason, only under fish-shell. If I temporarily switch to zsh, zeus boots correctly.

@stefanvermaas
Copy link
Author

For me it doesn't make a difference which shell I use.. Tried system reboot and an other clean install of Zeus, but that didn't work too.

@loed-idzinga
Copy link

I'm working with Stefan on the same project. Could backtrace it to the gem 'Faker' in combination with the default gem 'Psych'.

Steps I get it working again:

  • Unset Faker in Gemfile. ( otherwise there is no zeus error message )
  • Bundle
  • Uninstalled the latest version (2.0.1) of Psych via prompt
  • Set Faker in Gemfile
  • Bundle

I'm using the same versions of ruby as Stefan, are there known problems with Zeus + Psych + Faker?

Update

It's definitly a problem with Psych. Updated to Rails 4.0.1 and zeus fails again. This is the error:

    `<module:Psych>': superclass mismatch for class SyntaxError (TypeError)

@loed-idzinga
Copy link

Solution

Found a solution to this problem, adding gem 'psych' to the gemfile, everything works as it should.

@stefanvermaas
Copy link
Author

Can confirm @loed20 's solution is fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants