Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GEM Error - google-api-client-0.38.0 requires ruby version ~> 2.4, which is incompatible with the current version, ruby 3.0.2p107

When running bundle install I was getting this error:

Fetching gem metadata from https://rubygems.org/
Fetching gem metadata from https://rubygems.org/........
google-api-client-0.38.0 requires ruby version ~> 2.4, which is incompatible
with the current version, ruby 3.0.2p107

Couldn't find a fix/reason, answer below (thought I'd post this to help someone else/took me a 1 hour to find a fix).

like image 583
null Avatar asked Mar 08 '26 07:03

null


1 Answers

Run (via Terminal) fixes it:

bundle update
like image 148
null Avatar answered Mar 11 '26 00:03

null



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!