renderedtext / test-boosters

Auto Parallelization - runs test files in multiple jobs
MIT License
54 stars 40 forks source link

bundle exec does find the command rspec_booster #75

Open paul-mesnilgrente opened 4 years ago

paul-mesnilgrente commented 4 years ago

Hi,

I have added the gem to my rails Gemfile and ran the bundle install. And when I try to bundle exec rspec_booster --job 1/50 it shows: command not found: rspec_booster

However when I gem install semaphore_test_boosters, the executables are now available. Is it something to be expected? I couldn't see in the docs how to generate those executables to be found by bundler.

csidyel commented 4 years ago

Hi Paul,

Boosters are not installed in the Ubuntu 18.04 platform by default. They need to be installed manually. The manual installation is done with gem install semaphore_test_boosters. You may find more information about it here.

csidyel commented 4 years ago

Hi Paul,

We've included the gem semaphore_test_boosters so it should be available by default now. Could you check how it looks from your end?

paul-mesnilgrente commented 4 years ago

Oh I am not running the pipeline on semaphore ci. I am running it in GitLab using this example: https://docs.gitlab.com/ee/ci/yaml/#parallel

I forgot to mention it in the first post, sorry.

Shigawire commented 3 years ago

@paul-mesnilgrente I'm having the same problem. It looks like one of the published version of semaphore_test_boosters on rubygems.org didn't include the exe-binstub directory.

You need to explicitly install version ~> 2.6 of semaphore_test_boosters where the binstubs are included correctly. I had to update dependencies first, so make sure you lock this version in your Gemfile if 2.6 isn't installed automatically: gem 'semaphore_test_boosters', '~> 2.6'

waynehoover commented 3 years ago

I'm having the same issue, but need 2.7 because of the thor dependency. @csidyel is it possible to release a new version with the binstubs included?

Mbuckley0 commented 3 years ago

Just wondering if there has been any resolution on this for apps running 2.7?