Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zeus doesn't start on Rails 4.1 Ruby 2.1.1 setup?

Here is my abbreviated setup:

ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-darwin12.0]
rails (4.1.0.rc1)
rvm 1.25.22
zeus (0.13.3)

Whenever I run "zeus start" I get a full crash:

boot
└── default_bundle
    ├── test_environment
│   └── test_helper
└── development_environment
    └── prerake

Available Commands: [waiting] [crashed] [ready]
zeus test (alias: rspec) [run to see backtrace]
zeus server (alias: s) [run to see backtrace]
zeus console (alias: c) [run to see backtrace]
zeus rake [run to see backtrace]

And running "zeus s" afterwards gives this:

.rvm/rubies/ruby-2.1.1/lib/ruby/2.1.0/psych/parser.rb:33:in
   `<class:Parser>': superclass mismatch for class Mark (TypeError)
like image 316
John Trichereau Avatar asked Oct 21 '22 11:10

John Trichereau


1 Answers

It happened to me also, mistake was that default gemset was not set in rvm for project folder. If you use rvm never forget to do rvm use rubyversion@gemset in project folder. Simple way to detect is this the problem is to check if zeus start runs ok in your current terminal and fails when run in new terminal. If this is the case just run rvm use in project folder.

like image 177
robert aleksic Avatar answered Oct 23 '22 04:10

robert aleksic