bundle command not found

I tried deploying a React / Ruby on Rails project.

I used this as the ‘build’ command:

./bin/render-build.sh

I then used this as the ‘start’ command:

bundle exec puma -C config/puma.rb

This is the error that I am currently getting:

Nov 9 07:33:52 PM  ./bin/render-build.sh: line 11: bundle: command not found
Nov 9 07:33:52 PM  ==> Build failed 😞
Nov 9 07:33:52 PM  ==> Generating container image from build. This may take a few minutes...

Related Question:

  • What can be done in this scenario?
  • Is there some reason why ‘bundle’ doesn’t work by default on Render.com?

I think we’ve solved this via a direct support ticket.

John B

Yes, thanks @John_B sorry about that. For some reason the Render Community posts kept blocking me for some reason hence the double post. This was solved by setting the ‘Environment’ to be ‘Ruby’.