Ruby

Last change on 2024-04-18 • Created on 2022-05-25 • ID: CL-B882E
ruby logo

This app contains a ready to use Ruby installation. You can install it via the Hetzner Cloud Console or the Hetzner Cloud API.

Ruby is a dynamic, open source programming language with a focus on simplicity and productivity. It has an elegant syntax that is natural to read and easy to write.

Getting started

Create your server on our Hetzner Cloud Console. Instead of an image, you will be able to choose the app that you would like to have preinstalled on your server.

Ruby is preinstalled when the image is booted.

You can log into your server as usual:

  • Via SSH key, if you selected one when you created the server
  • Via root password, which will be mailed to you if you created a server without selecting an SSH key

Hetzner Cloud API

In addition to the Hetzner Cloud Console you can also use the Hetzner Cloud API to set up a server with pre-installed Ruby.

  • For example with a curl command via CLI

    curl \
    	-X POST \
    	-H "Authorization: Bearer $API_TOKEN" \
    	-H "Content-Type: application/json" \
    	-d '{"name":"my-server", "server_type":"cx31", "image":"ruby"}' \
    	'https://api.hetzner.cloud/v1/servers'
  • Or via hcloud-cli

    hcloud server create --name my-server --type cx31 --image ruby

Image content

Base OS

  • Ubuntu 22.04

Installed packages

NAME LICENSE
Ruby FreeBSD

For more information about the installed packages, please refer to their official documentation:

For more information about Hetzner Cloud and Hetzner Cloud Apps, please refer to our official documentation:

Table of Contents