test-boosters icon indicating copy to clipboard operation
test-boosters copied to clipboard

bundle exec does find the command rspec_booster

Open paul-mesnilgrente opened this issue 4 years ago • 6 comments

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.

paul-mesnilgrente avatar May 15 '20 03:05 paul-mesnilgrente

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 avatar May 18 '20 11:05 csidyel

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?

csidyel avatar May 19 '20 11:05 csidyel

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.

paul-mesnilgrente avatar May 19 '20 22:05 paul-mesnilgrente

@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'

Shigawire avatar Dec 11 '20 11:12 Shigawire

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?

waynehoover avatar Mar 19 '21 15:03 waynehoover

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

Mbuckley0 avatar Jul 15 '21 23:07 Mbuckley0