Looking for current product documentation?
Important operational guides are being maintained in the new documentation library.
Browse Docs

Guide: How to Deploy a Ruby on Rails App

Guide: How to Deploy a Ruby on Rails App

Deploying Ruby on SVR4U is simple. We use the Phusion Passenger bridge to ensure your Rails apps are fast and secure.

1. Initialize the App

  1. Log in to cPanel and click Setup Ruby App.

  2. Click Create Application.

  3. Select your Ruby Version.

  4. App Directory: Enter your project folder (e.g., rails_app).

  5. App Domain/URI: Choose where the app will live.

  6. Click Setup.

2. Upload and Install Gems

  1. Use the File Manager to upload your project, including your Gemfile.

  2. Go back to the Setup Ruby App interface and click Show under the "Modules" section for your app.

  3. If you have a Gemfile uploaded, you can click the Install button to run bundle install automatically.

3. The config.ru Entry Point

Ensure you have a config.ru file in your app directory. This is the "map" that our server uses to start your Ruby application. If you are using Rails, this file is created for you automatically.

Cette réponse était-elle pertinente?

Articles connexes

Guide: How to Deploy a Python (Django/Flask) App

Guide: How to Deploy a Python (Django/Flask) App Our Python Selector allows you to run modern...

Guide: How to Deploy Your First Node.js App on SVR4U

Guide: How to Deploy Your First Node.js App on SVR4U Welcome to SERVEFORU HOST INTEGRATED! Our...

Domain and DNS Basics for Hosting Customers

This article explains a common domain or DNS task and what to verify before and after making...

How to Point a Domain to Your Hosting Service

A domain can be connected to your hosting account either by changing nameservers or by updating...

How to Change Nameservers at Your Registrar

This article explains a common domain or DNS task and what to verify before and after making...