sevos / zeus-parallel_tests

MIT License
194 stars 22 forks source link

Support zeus-0.14.0.rc1 and later #23

Closed morganchristiansson closed 9 years ago

morganchristiansson commented 11 years ago

The latest version of zeus is 0.14.0.rc1, however it's not compatible with zeus-parallel_tests

Bundler could not find compatible versions for gem "zeus":
  In Gemfile:
    zeus-parallel_tests (>= 0) ruby depends on
      zeus (~> 0.13.3) ruby

    zeus (0.14.0.rc1)

(I'm trying to use zeus-parallel_tests with a rails engine and it's not working. I thought latest version of zeus might help - but it's not compatible with this gem.)

justin808 commented 10 years ago

I tried this with

gem 'zeus', "0.13.4.pre2" gem "zeus-parallel_tests", git: 'justin808/zeus-parallel_tests', branch: 'allow-newer-zeus'

and if I remove the zeus.json, zeus will start. Otherwise zeus start fails.

{
  "command": "ruby -rubygems -r./custom_plan -eZeus.go",

  "plan": {
    "boot": {
      "default_bundle": {
        "development_environment": {
          "prerake": {
            "rake": []
          },
          "runner": ["r"],
          "console": ["c"],
          "server": ["s"],
          "generate": ["g"],
          "destroy": ["d"],
          "dbconsole": [],
          "parallel_rspec": []
        },
        "test_environment": {
          "test_helper": {
            "test": ["rspec"],
            "parallel_rspec_worker": []
          }
        }
      }
    }
  }
}
nathany commented 10 years ago

Would be nice to use the current version of zeus (0.15.1). Might resolves issues like https://github.com/burke/zeus/issues/232.

pboling commented 10 years ago

:+1:

mbusch commented 10 years ago

I'd support that, too - we're hanging on a Pre-Release of Zeus right now. I'd like to change that asap for obvious reasons ;-)

Is @sevos still active?

sevos commented 10 years ago

Hey, yes, I am alive. THe issue is that currently I have no project to test on. The quickest way would be if somebody could try to test it and submit pull request. I would be happy to release it!

mbusch commented 10 years ago

I just tried to fork and update the dependency file, but my project wasn't working with the updated versions - sadly I don't have much time right now to dive into that, sorry.

Installed versions were zeus 0.15.1 and parallel_tests 1.0.0.

nathany commented 10 years ago

@mbusch What issue did you run into? Yet to try zeus 0.15.1 on our project.

mbusch commented 10 years ago

Zeus server wasn't booting at all - there wasn't thrown any detailed stacktrace, otherwise I would have posted it. Thus my feedback might not be useful at all, sorry.

Maybe I'll find some time tomorrow to check it out again.

nathany commented 10 years ago

@mbusch I run into this issue when trying to upgrade Zeus: https://github.com/burke/zeus/issues/446

I'm also having trouble getting the specs for the zeus-parallel_tests dummy app to run (before making changes or upgrading zeus).

justin808 commented 10 years ago

FWIW, I loosened up the version constraint here: https://github.com/justin808/zeus-parallel_tests/tree/allow-newer-zeus.

However, Zeus won't start if parallel-rspec is installed. :-(

I get the exact issue of @nathany.

mbusch commented 10 years ago

Yeah, mine were the same issues like @nathany and @justin808 as well.

justin808 commented 10 years ago

I think might be a real issue with upgrading to Yosemite.

I now get this error:

zeus rspec                                                                                                                                                                                                       [7:19:03]
/Users/justin/.rvm/gems/ruby-2.1.3@bpos/gems/zeus-0.13.3/lib/zeus/rails.rb:214:in `spec_file?': undefined method `match' for nil:NilClass (NoMethodError)
trandoanhung1991 commented 9 years ago

Any chance for an update? Just simply updating the dependencies won't cut it, since it'll just end up exit status 1.

schneidmaster commented 9 years ago

I am (as of a few days ago) the new maintainer for this gem, and I'm looking through the old issues now. I am actively working on updating the gem for compatibility with zeus 0.15.4. I will close this issue when that is done - hopefully within a week or two depending on my schedule.

schneidmaster commented 9 years ago

Fixed by #36. This has not been deployed to rubygems yet but I will comment again in this issue when it has.