Discloud Docs
English
English
  • 👋Welcome
  • Suport
    • ☁️How to Host
      • 🤖Bots
        • 🔌Bot
        • 🧩VSCode Extension
        • ⌨️CLI
      • 🌎Website and APIs
        • 🔌Bot
        • 🧩VSCode Extension
        • ⌨️CLI
    • ⌨️Languages
      • 🟨JavaScript
        • 📄Create the package.json
      • 🐍Python
        • 📄Create the requirements.txt
      • ☕Java
      • 💎Ruby
        • 📄Create the Gemfile
      • 🐿️Go
      • 🐘Php
      • 🦀Rust
        • 📄Create the Cargo.toml
    • ⛓️Integrations
      • 🌐Your Own Domain
      • 🐙GitHub and GitLab
      • 🎧Lavalink
      • 💾Database
        • MongoDB Atlas (mLab)
    • ❓Frequently Asked Questions (FAQ)
      • How to compress my files?
      • Discloud ModMail (Ticket)
      • How do I get my bot's ID?
      • What is the main file?
      • Configuring Puppeteer
      • How to report an offender?
      • Why can't I access my website?
      • Very Heavy BOT
    • ⚒️Commands
      • How to get API token
      • How to integrate Github
    • 🤲Donations
  • configuration
    • ⚙️discloud.config
      • 📦APT (Install Packages)
      • 🏗️VERSION (Switch between Versions)
  • 🖥️local environment
    • ⚙️Install
      • 🟨JavaScript (NodeJS)
      • 🐍Python
      • 💎Ruby
      • 🦀Rust
  • API
    • 📡Using the API
    • 🔗Routes
  • About
    • 🎨Discloud Brand
      • Name origin
      • Visual Identity
  • 🔗Links
    • 🌎Website
    • 📊DisCloud Status
  • 📜Legal
    • 📄Terms of Service (TOS)
Powered by GitBook
On this page
Edit on GitHub
  1. local environment
  2. Install

Ruby

PreviousPythonNextRust

Last updated 2 years ago

Install Ruby on your computer

Rubygems - It is a package manager for Ruby modules (called gems)

Bundler - Allows you to specify which gems your project depends on

Select your Operating System

Installing Ruby

Check the Ruby installation

Open cmd or PowerShell and run:

ruby -v

Check the RubyGems installation

Open cmd or PowerShell and run:

gem -v

If it returns the version of both then it is installed correctly!

Installing bundler

Open cmd or PowerShell and run:

gem install bundler

Installing Ruby

If you use Ubuntu or some other based distro, run the following command in Terminal:

sudo apt install ruby-dev

If you use Fedora, run the following command in Terminal

sudo dnf install ruby-devel

If you use Arch Linux or some other based distro, run the following command in Terminal:

sudo pacman -S ruby rubygems

Check the Ruby installation

Run the following command in Terminal.

ruby -v

Check the Rubygems installation

Run the following command in Terminal.

gem -v

If it returns the version of both then it is installed correctly!

Installing bundler

Run the following command in Terminal.

sudo gem install bundler

Ubuntu

Repository Package Information:

Fedora

Repository Package Information:

Arch Linux

Repository Package Information: ,

🖥️
⚙️
💎
ruby
ruby
ruby
rubygems
Download Ruby Here