Ruby: Choosing your development environment: local or remote

This documentation is part of the Development platform guide. View the full guide here: Set up your development environment for a smooth and efficient workflow.

👋 Welcome to the Stackhero documentation!

Stackhero offers a ready-to-use Ruby cloud solution that provides a host of benefits, including:

  • Deploy your application in seconds with a simple git push.
  • Use your own domain name and benefit from the automatic configuration of HTTPS certificates for enhanced security.
  • Enjoy peace of mind with automatic backups, one-click updates, and straightforward, transparent, and predictable pricing.
  • Get optimal performance and robust security thanks to a private, dedicated infrastructure.

Save time and simplify your life: it only takes 5 minutes to try Stackhero's Ruby cloud hosting solution!

You can run Ruby projects in two ways: with a local environment on your computer or in the cloud using a ready-to-code service like Code-Hero. Each approach has strengths, so you can pick what fits your workflow best.

Local development is ideal if you prefer working offline. It puts everything on your own machine, but setup and maintenance require more time, especially if you are new to programming or need several tools. You handle updates, backups, and security, and you are limited by your computer's resources. Accessing your work from another device can also be a challenge.

Remote development with Code-Hero gives you a preconfigured environment that is ready within seconds. It includes an easy-to-use Visual Studio Code fork and built-in support for tools like Git, Docker, Ruby, Rails, and more. Cloud servers typically offer more CPU, RAM, and storage than local machines. Since everything runs in the browser, you can work from any device or operating system.

Integrated tools like Docker and Traefik make it simple to use TLS and real domains (for example, https://your-project.you.your-company.dev). This closely matches real production setups, so you can test webhooks (from GitHub, Slack, Stripe, etc.), handle CORS, and develop against live-like services without extra configuration.

Choose the option that matches your workflow, skills, and project needs:

  1. Local development:

    • ✅ Works offline: No internet required
    • ❌ Limited resources: Bound by your computer's performance
    • ❌ Manual setup: You install and configure tools yourself
    • ❌ Ongoing maintenance: Updates and backups are your responsibility
  2. Remote development (on Code-Hero):

    • ✅ Ready instantly: 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