Docs menu

Ruby

Deploy Ruby and Rails apps on Primcloud with Bundler-driven dependency install and automatic web-process detection.

On this page

Primcloud deploys Ruby apps (Rails, Sinatra, Rack, plain Ruby workers) from a repo that carries a Gemfile and Gemfile.lock. Detection triggers the moment Primcloud finds Gemfile.lock at the repo root. Your Ruby version comes from the lockfile's RUBY VERSION entry and your Bundler version from its BUNDLED WITH entry, so the runtime you build against is the one your lockfile already names.

Every build runs bundle install. Rails apps get a shortcut: if your lockfile carries the railties gem, Primcloud generates a default web process that runs bin/rails server, so a stock Rails app deploys with no Procfile at all. A Rack app with a config.ru gets a bundle exec rackup default the same way. Ship your own Procfile and it overrides both.

What's in this section#