-1

Hi, i'm working on project which has ruby version 2.4.6 and rails version 5.0.2, iv'e implemented rspec_api_documentation and apitome gem for api documentation. I wrote all the test cases and when i run it with simple rspec spec/acceptance/api/v1/notifications/notification_spec.rb command all test cases are passed with 0 failures, however while running command bundle exec rspec spec/acceptance/api/v1/notifications/notification_spec.rb --format RspecApiDocumentation::ApiFormatter for documentation generation it throws an error of SimpleCov failed with exit 1. I did some R&D and found some answers that remove Gemfile.lock and bundle again, when i removed Gemfile.lock and ran the command bundle install it throws error of google-protobuf incompatibility google-protobuf-3.21.5-x86_64-linux requires ruby version >= 2.5, < 3.2.dev, which is incompatible with the current version, ruby 2.4.6p354, if i do bundle update it throws the same error of google-protobuf. now i can't do anything, i can't understand what's the problem and how to fix it, please help me in this.

0 Answers0