dotnet / dotnet-buildtools-prereqs-docker

Used to maintain the Docker images hosted at the mcr.microsoft.com/dotnet-buildtools/prereqs image repository
MIT License
53 stars 99 forks source link

Resolve gem install errors #1012

Closed mthalman closed 2 months ago

mthalman commented 2 months ago

When attempting to run gem install fpm, it would get the following error:

105.2 ERROR:  Error installing fpm:
105.2   The last version of dotenv (>= 0) to support your Ruby & RubyGems was 2.8.1. Try installing it with `gem install dotenv -v 2.8.1` and then running the current command again
105.2   dotenv requires Ruby version >= 3.0. The current ruby version is 2.5.0.

This is resolved by upgrading the version of dotenv to the version supported by Ruby 2.8.1.