You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/06/03 18:51:00 UTC

[jira] [Commented] (GEODE-10352) Update Dockerfile to use Ruby >= 2.6 in the tool to preview Geode documentation

    [ https://issues.apache.org/jira/browse/GEODE-10352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546693#comment-17546693 ] 

ASF subversion and git services commented on GEODE-10352:
---------------------------------------------------------

Commit 728467cfd73bfc74020f9e2d7de8780231943a94 in geode's branch refs/heads/develop from Alberto Gomez
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=728467cfd7 ]

GEODE-10352: Update Ruby version in Geode doc preview tool (#7753)

The script to preview the documentation of Geode (./preview-user-guide.sh)
is not working anymore.

The following error appears while running it (unless you have a previously downloaded
geodedocs/temp docker image in your local docker repo):

ERROR: Error installing elasticsearch:
The last version of faraday (>= 0) to support your Ruby & RubyGems was 1.10.0. Try installing it with `gem install faraday -v 1.10.0` and then running the current command again
faraday requires Ruby version >= 2.6. The current ruby version is 2.5.9.229.

That error prevents the preview script to work.

It is needed to update the docker image used to preview the documentation to use a Ruby version >= 2.6.
The versions of other gems also need to be updated after the
change of the Ruby version.

> Update Dockerfile to use Ruby >= 2.6 in the tool to preview Geode documentation
> -------------------------------------------------------------------------------
>
>                 Key: GEODE-10352
>                 URL: https://issues.apache.org/jira/browse/GEODE-10352
>             Project: Geode
>          Issue Type: Bug
>          Components: docs
>            Reporter: Alberto Gomez
>            Assignee: Alberto Gomez
>            Priority: Major
>              Labels: pull-request-available
>
> The script to preview the documentation of Geode (./preview-user-guide.sh) is not working anymore.
> The following error appears while running it (unless you have a previously downloaded geodedocs/temp docker image in your local docker repo):
> ERROR:  Error installing elasticsearch:
> 	The last version of faraday (>= 0) to support your Ruby & RubyGems was 1.10.0. Try installing it with `gem install faraday -v 1.10.0` and then running the current command again
> 	faraday requires Ruby version >= 2.6. The current ruby version is 2.5.9.229.
> That error prevents the preview script to work.
> It is needed to update the docker image used to preview the documentation to use a Ruby version >= 2.6



--
This message was sent by Atlassian Jira
(v8.20.7#820007)