Skip to content

Commit

Permalink
Fix fastlane installation for Ubuntu 20 (actions#3308)
Browse files Browse the repository at this point in the history
* tmp fix for Ubuntu 20

* removed unnecessary line break

Co-authored-by: Leonid Lapshin <[email protected]>
  • Loading branch information
LeonidLapshin and Leonid Lapshin authored May 4, 2021
1 parent d441e5b commit 1532432
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions images/linux/scripts/installers/ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1532432

Please sign in to comment.