Ruby: Choosing your development environment: local or remote
This documentation is part of the Development platform guide. You can view the complete guide here: Set up your development environment for a smooth and efficient workflow.
👋 Welcome to the Stackhero documentation!
Stackhero provides a ready-to-use Ruby cloud solution offering a range of advantages, including:
- Deploy your application within seconds using a simple
git push.- Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
- Take advantage of automatic backups, one-click updates, and clear, transparent, and predictable pricing.
- Enjoy optimal performance and enhanced security thanks to a private, dedicated infrastructure.
Save time and make your life easier: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!
You can run Ruby projects in two ways: locally on your computer or in the cloud using a ready-to-code service such as Code-Hero. Each method has its advantages, so you can select the one that best suits your workflow.
Local development is ideal if you want to work offline. Everything is installed on your own machine, but setup and maintenance take more time, especially if you are new to programming or require several tools. You are responsible for updates, backups, and security, and you are limited by your computer’s resources. Accessing your work from another device can also be challenging.
Remote development with Code-Hero provides you with a preconfigured environment that is ready within seconds. It includes an easy-to-use fork of Visual Studio Code and native support for tools such as Git, Docker, Ruby, Rails, and more. Cloud servers generally offer more CPU, RAM, and storage than local machines. Since everything runs in your browser, you can work from any device or operating system.
Integrated tools like Docker and Traefik make it easy to use TLS and real domains (for example, https://your-project.you.your-company.dev). This closely replicates a real production environment, allowing you to test webhooks (from GitHub, Slack, Stripe, etc.), handle CORS, and develop against production-like services without additional configuration.
Choose the option that matches your workflow, skills, and project requirements:
-
Local development:
- ✅ Works offline: No internet connection required
- ❌ Limited resources: Restricted by your computer’s performance
- ❌ Manual setup: You install and configure tools yourself
- ❌ Ongoing maintenance: Updates and backups are your responsibility
-
Remote development (on Code-Hero):
- ✅ Instantly ready: All tools are installed and configured
- ✅ High performance: Uses powerful, dedicated cloud servers
- ✅ Work anywhere: Access your environment from any device
- ✅ Live integrations: Built-in HTTPS domains for webhooks and third-party services
- ❌ Internet required: Needs a network connection