Fix fastlane installation for Ubuntu 20 (#3308)

* tmp fix for Ubuntu 20

* removed unnecessary line break

Co-authored-by: Leonid Lapshin <originalnoe-nazvanie@yandex.ru>
This commit is contained in:
Leonid Lapshin
2021-05-04 21:00:16 +03:00
committed by GitHub
parent d441e5b3c0
commit 1532432fa9

View File

@@ -4,11 +4,18 @@
## Desc: Installs Ruby requirements and ruby gems
################################################################################
source $HELPER_SCRIPTS/os.sh
source $HELPER_SCRIPTS/install.sh
apt-get install ruby-full
gem update
# temporary fix for fastlane installation https://github.com/fastlane/fastlane/issues/18642
if isUbuntu20 ; then
gem uninstall rdoc
gem install rdoc -v 6.3.0
fi
# Install ruby gems from toolset
gemsToInstall=$(get_toolset_value ".rubygems[] .name")
if [ -n "$gemsToInstall" ]; then