Rails build failed
hm-arora
TRIALOP

2 years ago

When deploying the application, I'm receiving this error

13 | # setup phase

14 | ENV NIXPACKS_PATH $HOME/.rbenv/bin:$NIXPACKS_PATH

15 | >>> 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 ~> 2.7 && rbenv global ~> 2.7 && gem install bundler:2.4.12

16 |

17 | # 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 ~> 2.7 && rbenv global ~> 2.7 && gem install bundler:2.4.12" did not complete successfully: exit code: 2

0 Replies

Welcome!

Sign in to your Railway account to join the conversation.

Loading...