Yassine Zeriouh
Under review

Add support for deploying Ruby on Rails applications

·
·

@Yassine-Zeriouh Can you provide information as to how this works? I'm new to Ruby on Rails.

Any example how to set this up with an example Hello World would be great.

no votes yet
·
·

@Dennis It's quite easy, you basically just need two commands, a build command and a serve command. Both should be customizable, but the most common approach is to use yarn for javascript packages and puma as a web server. Here's an example config for nginx, but it should work the same with other alternatives.

The trickiest part is getting the environment right. Installing the correct ruby version (There's rbenv to help with that), installing the correct node version with all required packages, etc.

Everything else should be very similar to a Laravel deployment :)

If you'd like to chat via Slack/Discord, I'm happy to go more into details :)

no votes yet

Ruby on Rails Support

2 total votes
Quick Actions
Activity
View recent activity and updates
Use arrow keys to navigate