File tree Expand file tree Collapse file tree 4 files changed +44
-4
lines changed
Expand file tree Collapse file tree 4 files changed +44
-4
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,17 @@ apt-get -y install python3-venv python3-pip
1414apt-get install -y ruby ruby-dev rubygems build-essential
1515
1616# install fpm using gem
17- gem install fpm
17+ # gem install fpm
18+
19+ # because fpm install fails on Ruby 2.5.0 due to dotenv, you basically just explicitly
20+ # install the version-pinned dependencies of pleaserun and fpm and then install those without
21+ # any deps (https://github.com/jordansissel/fpm/issues/2048):
22+ gem install dotenv --version 2.8.1 --no-document
23+ gem install clamp --version 1.0.1 --no-document
24+ gem install mustache --version 0.99.8 --no-document
25+ gem install cabin insist stud arr-pm backports rexml --no-document
26+ gem install pleaserun --ignore-dependencies --no-document
27+ gem install fpm --ignore-dependencies --no-document
1828
1929# prepare venv
2030. /repos/monitoring-plugins/build/shared/venv.sh
Original file line number Diff line number Diff line change @@ -20,7 +20,17 @@ alias python3=python3.9
2020yum -y install ruby-devel gcc make rpm-build libffi-devel
2121
2222# install fpm using gem
23- gem install fpm
23+ # gem install fpm
24+
25+ # because fpm install fails on Ruby 2.5.0 due to dotenv, you basically just explicitly
26+ # install the version-pinned dependencies of pleaserun and fpm and then install those without
27+ # any deps (https://github.com/jordansissel/fpm/issues/2048):
28+ gem install dotenv --version 2.8.1 --no-document
29+ gem install clamp --version 1.0.1 --no-document
30+ gem install mustache --version 0.99.8 --no-document
31+ gem install cabin insist stud arr-pm backports rexml --no-document
32+ gem install pleaserun --ignore-dependencies --no-document
33+ gem install fpm --ignore-dependencies --no-document
2434
2535# prepare venv
2636. /repos/monitoring-plugins/build/shared/venv.sh
Original file line number Diff line number Diff line change @@ -14,7 +14,17 @@ apt-get -y install python3-venv python3-pip
1414apt-get install -y ruby ruby-dev rubygems build-essential
1515
1616# install fpm using gem
17- gem install fpm
17+ # gem install fpm
18+
19+ # because fpm install fails on Ruby 2.5.0 due to dotenv, you basically just explicitly
20+ # install the version-pinned dependencies of pleaserun and fpm and then install those without
21+ # any deps (https://github.com/jordansissel/fpm/issues/2048):
22+ gem install dotenv --version 2.8.1 --no-document
23+ gem install clamp --version 1.0.1 --no-document
24+ gem install mustache --version 0.99.8 --no-document
25+ gem install cabin insist stud arr-pm backports rexml --no-document
26+ gem install pleaserun --ignore-dependencies --no-document
27+ gem install fpm --ignore-dependencies --no-document
1828
1929# prepare venv
2030. /repos/monitoring-plugins/build/shared/venv.sh
Original file line number Diff line number Diff line change @@ -14,7 +14,17 @@ apt-get -y install python3-venv python3-pip
1414apt-get install -y ruby ruby-dev rubygems build-essential
1515
1616# install fpm using gem
17- gem install fpm
17+ # gem install fpm
18+
19+ # because fpm install fails on Ruby 2.7.0 due to dotenv, you basically just explicitly
20+ # install the version-pinned dependencies of pleaserun and fpm and then install those without
21+ # any deps (https://github.com/jordansissel/fpm/issues/2048):
22+ gem install dotenv --version 2.8.1 --no-document
23+ gem install clamp --version 1.0.1 --no-document
24+ gem install mustache --version 0.99.8 --no-document
25+ gem install cabin insist stud arr-pm backports rexml --no-document
26+ gem install pleaserun --ignore-dependencies --no-document
27+ gem install fpm --ignore-dependencies --no-document
1828
1929# prepare venv
2030. /repos/monitoring-plugins/build/shared/venv.sh
You can’t perform that action at this time.
0 commit comments