Ruby logo

Ruby 4 with Bundler built in

Run Rails, Sinatra, or your Ruby scripts. Gems from your Gemfile are installed before the app starts, with no setup.

From R$12.49/mo

What comes ready

The environment already knows your language: you upload the code and it runs.

  • YJIT, Ruby's own JIT

    Ruby's built-in just-in-time compiler, which Rails enables by default, speeds up long-running apps.

  • Automatic Bundler

    Detects your Gemfile and installs gems before the app starts.

  • Rails, Sinatra, Hanami, Roda, and Grape

    Ruby's main web frameworks run with no special adaptation.

  • Sidekiq and workers

    Set your start command through START and run Sidekiq or any other worker.

What you can host

Projects that run on this runtime.

  • Rails apps with Hotwire

    Full-stack or API-mode applications with Turbo, Stimulus, and import maps.

  • Lightweight APIs with Sinatra and Roda

    Lean Ruby microservices with little code and simple deploys.

  • Discord bots with discordrb

    Ruby bots with auto-restart and real-time logs in the dashboard.

  • Sidekiq and Resque workers

    Async processing with Redis-backed queues and automatic retries when a job fails.

  • Scrapers and web automation

    Data collection with Mechanize, Nokogiri, HTTParty, or Watir in automated routines.

  • E-commerce with Spree and Solidus

    Open-source Ruby storefronts with customizable checkout and payment gateway integrations.

Configuration and versions

The dashboard generates squarecloud.app at deploy, or you write your own at the project root: name, main file, memory and version in one place.

squarecloud.app
DISPLAY_NAME=Ruby
MAIN=app.rb
MEMORY=512
VERSION=recommended
Versions
4
Accepted files
.rb
Dependencies
Gemfile
RUNTIME= values
ruby

Combine with other services

Everything in the same dashboard, on the same infrastructure and the same invoice.

A plan for every stage of your project

Start small and scale when you need to, with no loyalty contracts.

4.9 out of 5 · 402 reviews on Google + TrustpilotTrustpilot

Hosted in a partner datacenter with certifications
Tier 3ISO 27001SOC 2 Type IIAlways-On DDoS Protection
Explore our infrastructure

Frequently asked questions about Ruby Hosting

Ruby 4, YJIT, Bundler, and Rails.

Is YJIT enabled by default?

Yes. Apps on Ruby 4 run with YJIT enabled.

How do I configure Rails or Puma?

Use START=bundle exec puma -C config/puma.rb in squarecloud.app. Bundler resolves gems automatically before start.

Can I use Sidekiq?

Yes. Run your main app with a subdomain and a separate background app for Sidekiq, or both in the same process via the Puma plugin.

Which exact Ruby version runs?

Ruby 4, with security patches applied automatically. We only keep major 4, with no older majors in parallel, which speeds up security patches and keeps the platform simple.

Ready to scale your project?

Join the 500,000+ developers who have used Square Cloud to host their projects.

  • Predictable pricing
  • No billing surprises
  • Deploy in seconds
  • High availability
  • Scale with stability
  • Automatic restart
  • SSL and security included
  • Isolated containers