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.

Compare all plans
  • Hobby

    To validate ideas, bots and personal projects

    FromR$12.49/mo

    1 GB RAM. Scales up to 2 GB on the same plan
    • 1 vCPU
    • Up to 4 projects
  • Standard

    Recommended

    For production, with databases and custom domains

    FromR$44.99/mo

    4 GB RAM. Scales up to 8 GB on the same plan
    • 4 vCPU
    • Up to 16 projects
  • Pro

    For high scale, with daily application snapshots and advanced analytics

    FromR$124.99/mo

    12 GB RAM. Scales up to 24 GB on the same plan
    • 6 vCPU
    • Up to 48 projects

4.9 out of 5

482 reviews on Google and Trustpilot

Hosted in a partner datacenter with certifications

  • Tier 3
  • ISO 27001
  • SOC 2 Type II
  • Always-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