Open In App

How to Install ruby bundler on Linux?

Improve
Improve
Like Article
Like
Save
Share
Report

Bundler ensures that Ruby projects have a consistent environment by monitoring and installing the precise gems and versions required. Bundler helps you get out of dependency hell by ensuring that the gems you require are in development, staging, and production. Bundle install is all it takes to get started on a project.

Installing Ruby Bundler on Linux

Step 1: Open the terminal for executing the installation commands.

 

Step 2: Update the system by executing the following command.

sudo apt-get update

 

Step 3: Let’s start by installing Ruby.

sudo apt-get install ruby ruby-dev

 

Step 4: Now, it’s time to set up Bundler. Execute the following command in the terminal to install bundler:

sudo gem install bundler

 


Last Updated : 27 Jun, 2022
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads