mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
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:
@@ -4,11 +4,18 @@
|
|||||||
## Desc: Installs Ruby requirements and ruby gems
|
## Desc: Installs Ruby requirements and ruby gems
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
source $HELPER_SCRIPTS/os.sh
|
||||||
source $HELPER_SCRIPTS/install.sh
|
source $HELPER_SCRIPTS/install.sh
|
||||||
|
|
||||||
apt-get install ruby-full
|
apt-get install ruby-full
|
||||||
gem update
|
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
|
# Install ruby gems from toolset
|
||||||
gemsToInstall=$(get_toolset_value ".rubygems[] .name")
|
gemsToInstall=$(get_toolset_value ".rubygems[] .name")
|
||||||
if [ -n "$gemsToInstall" ]; then
|
if [ -n "$gemsToInstall" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user