cPanel includes tools to deploy Ruby on Rails applications when your DanumHost plan supports Ruby.
Install or configure Rails
- Go to Software → Ruby on Rails or Setup Ruby App (on CloudLinux with Ruby Selector).
- Create a new application, specifying the Ruby version, application root, and domain or subdirectory.
- Install gems using the provided bundle command or the cPanel terminal if available.
- Configure the startup file and environment mode (production vs development).
- Restart the application from the Ruby interface after code changes.
Deployment tips
- Run
bundle installafter updating your Gemfile. - Run database migrations as needed for your application.
- Point your domain document root to the
publicfolder of the Rails app.
Rails hosting requirements vary by plan. Contact DanumHost support if Ruby is not listed in your cPanel Software section.