I dont know how to run all rails tests

rails

#1

I have
# Run tests
- run:
name: Test
command: bundle exec rails test

in my .circleci/config.yml
but CircleCI tells

#!/bin/bash -eo pipefail
bundle exec rails test
Could not find concurrent-ruby-1.0.5 in any of the sources
Run bundle install to install missing gems.
Exited with code 1

But there is concurrent-ruby-1.0.5 in bundle install list before …

What can I do?


#3

I had the same issue and could resolve it by installing the dependencies without the --path option.


#4

I resolved it using “rake test” instead of “rails test”

  • run:
    name: Run Tests
    command: rake test

#5

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.