Fpm: Install fails on Ubuntu 20.04 release with gem dependency error

Created on 23 Apr 2020  路  2Comments  路  Source: jordansissel/fpm

FPM Install fails on a fresh Ubuntu 20.04 install. When I run sudo gem install fpm, I get the following output:

ERROR:  Could not find a valid gem 'fpm' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - no such name (https://rubygems.org/specs.4.8.gz)

Most helpful comment

Re-ran the install after installing the latest round of updates for Ubuntu 20.04. Fpm now installs, but gives the following message on use:

Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.

All 2 comments

Re-ran the install after installing the latest round of updates for Ubuntu 20.04. Fpm now installs, but gives the following message on use:

Doing `require 'backports'` is deprecated and will not load any backport in the next major release.
Require just the needed backports instead, or 'backports/latest'.

Indeed, require just the needed backports instead. Using 'latest' however, is never recommended for production purposes. Should use semver specific packages/modules.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vadi2 picture vadi2  路  3Comments

amrox picture amrox  路  5Comments

jean-christophe-manciot picture jean-christophe-manciot  路  4Comments

leandro-lucarella-sociomantic picture leandro-lucarella-sociomantic  路  10Comments

thedrow picture thedrow  路  10Comments