You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2021/07/30 12:53:00 UTC

[jira] [Resolved] (AVRO-3181) [RUBY] Rake isn't found in ubertool docker

     [ https://issues.apache.org/jira/browse/AVRO-3181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Skraba resolved AVRO-3181.
-------------------------------
    Resolution: Not A Problem

It looks like this only happens when the ./build.sh script launches docker with a {{DOCKER_RUN_ENTRYPOINT}}: 

{code}
DOCKER_RUN_ENTRYPOINT="./build.sh test" ./build.sh docker
{code}

This is related to rbenv but only because of the way docker entrypoints and cmd arguments work.  The right way to launch this would be: 

{code}
DOCKER_RUN_XTRA_ARGS="--entrypoint ./build.sh" DOCKER_RUN_ENTRYPOINT=test ./build.sh docker
{code}

While this is really ugly, a better solution would be to fix the way the ubertool jar is used!

> [RUBY] Rake isn't found in ubertool docker
> ------------------------------------------
>
>                 Key: AVRO-3181
>                 URL: https://issues.apache.org/jira/browse/AVRO-3181
>             Project: Apache Avro
>          Issue Type: Bug
>    Affects Versions: 1.11.0
>            Reporter: Ryan Skraba
>            Priority: Major
>
> The rake executable used to launch the interop tests is no longer in the PATH
> {code}
> + cd lang/ruby
> + rake generate_interop
> ./build.sh: line 110: rake: command not found
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)