DEV Community

BoTree Technologies
BoTree Technologies

Posted on • Originally published at botreetechnologies.com on

How to Install Ruby on Rails on Ubuntu 20.04 LTS

Ubuntu upgrade from 18.04 to 20.04 LTS: Installation Requirements for an Existing Rails Application

Upgrading Ubuntu from 18.04 – 20.04 is easy and takes a few moments. When it comes to Ruby on Rails app development, you need the latest version of Ubuntu to achieve smooth performance.

The command for upgrade is shown below:

sudo apt update && sudo apt upgrade

After upgrading Ubuntu, some sets of binary libraries were found missing while bundling the dependencies and serving the rails application.

You will also notice the following enlisted set of errors arising while serving the bundling the dependencies or serving the Rails application or if there are missing SSL certificates for a specific ruby version in the local machine:

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
GYou must add /C=BE/O=GlobalSign nv-sa/OU=Root CA/CN=GlobalSign Root
CA to your local trusted store

                      OR
Enter fullscreen mode Exit fullscreen mode

An error occurred while installing nokogiri (Nokogiri Version),
and Bundler cannot continue.

                      OR
Enter fullscreen mode Exit fullscreen mode

-bash: cd: /usr/share/rvm/usr/ssl: No such file or directory

                      OR
Enter fullscreen mode Exit fullscreen mode

SSL_connect returned=1 errno=0 state=error: certificate verify failed

If you are facing any issues related to the specific nokogiri version used for existing Ruby on Rails rapid application development or SSL/CA certificates.

Then, install the following packages to successfully bundle the dependencies and serve Ruby on Rails application development:

The post Ubuntu upgrade from 18.04 to 20.04 LTS: Installation Requirements for an Existing Rails Application appeared first on BoTree Technologies.

Heroku

Deploy with ease. Manage efficiently. Scale faster.

Leave the infrastructure headaches to us, while you focus on pushing boundaries, realizing your vision, and making a lasting impression on your users.

Get Started

Top comments (0)

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere “thank you” often brightens someone’s day—share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay