After upgrading from macOS Catalina 10.15.3 to 10.15.6, the following error occurred when $bin/rspec was used.
- macOS Catalina 10.15.6 (after version upgrade)
- ruby ‘2.5.7’
- rails ‘5.2.3’
- rspec-rails ‘4.0.0.beta2’
Add "gem'mini_racer', platforms: :ruby" to Gemfile
If you look at the error log, you can see the Github link, so check the link destination. After checking, it seems good to add a gem called mini_racer to the Gemfile.
(abridgement) # See https://github.com/rails/execjs#readme for more supported runtimes # gem'mini_racer', platforms: :ruby (abridgement)
Uncomment this part of the Gemfile. After that, do $bundle install, When I tried $bin/rspec again, the test ran normally.