- Log in to cPanel.
- For help accessing your cPanel see Where do I log in to my hosting control panel
- Click Setup Ruby App
- If you already have a Ruby app, click Create Application so the Setup new application screen appears.
- Fill in the fields for your Ruby App.
- Select a Ruby version.
- Choose your App directory where you will install the app
- Choose your domain and URI where your App will be accessible. E.g. example.com/rubyapp
- Click Setup
- After your Ruby app has been created will be taken to an overview screen. Please note the Command for entering to virtual environment
- From your cPanel home screen open Terminal
- Enter the virtual environment command line. E.g. source /home/example/rubyvenv/rubyapp/2.4/bin/activate
- Then change directory to your Ruby App directory. E.g. cd rubyapp
- A basic basic Ruby “Hello World” script will be loaded by default. Using terminal you can use gem commands to install the frameworks and edit your config.ru to configure your Ruby app
Was this guide helpful?
Thanks for your feedback — it helps us improve our guides.
Need help with this?
Open a ticket and link to this guide so our team can see what you have tried.