Error when installing rbenv

sk8higherTRIAL

a year ago

I'm trying to host a telegram bot, on plain ruby 3.2.2. I'm getting this error when I'm trying to deploy:

18 | # setup phase
19 | ENV NIXPACKSPATH $HOME/.rbenv/bin:$NIXPACKSPATH
20 | >>> RUN curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval "$(~/.rbenv/bin/rbenv init -)"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.19
21 |

22 | # install phase

ERROR: failed to solve: process "/bin/bash -ol pipefail -c curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash -s stable && printf '\neval \"$(~/.rbenv/bin/rbenv init -)\"' >> /root/.profile && . /root/.profile && rbenv install 3.2.2 && rbenv global 3.2.2 && gem install bundler:2.4.19" did not complete successfully: exit code: 1

View Deploy details

ⓘ Deployment information is only viewable by Project members and Railway admins.

1 Replies

a year ago

There's no errors here, please provide the error you get.