Testing Ruby Functionality with a “Hello World” App (Firstserv Guide)
If you're experiencing issues with a custom Ruby application, it’s helpful to first confirm that the Ruby service is running correctly. You can do this by creating a simple “Hello World” application.
Important Notes
- Firstserv supports the Ruby environment and service only
- Troubleshooting your application, dependencies, or code is outside our support scope
- For production Ruby applications, we recommend using a VPS or dedicated environment
Step 1: Create a Ruby Application
- Log in to your cPanel account
- Navigate to the Software section
- Click Setup Ruby App
Configure the Application
Under Setup New Application, enter:
- Ruby Version: Select the required version
- App Directory:
helloworld - App Domain/URI:
helloworld
Then click Setup.
Step 2: Access Your Test Application
Once created, open your browser and visit:
https://yourdomain.com/helloworld/config.ru
What This Test Confirms
- ✅ If the page loads, the Ruby service is operational
- ❌ If it does not load, there may be an issue with the Ruby environment
Next Steps
If your test app works but your main application does not, the issue is likely within your application itself. You may need to check:
- Application configuration
- Required gems or dependencies
- Logs and error output
Summary
Creating a simple Ruby test application allows you to confirm:
- ✅ The server and Ruby environment are functioning correctly
- ❌ Any issues are likely related to your custom application setup
If you need assistance verifying your Ruby environment, the Firstserv support team is always happy to help.
