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
An error occurred while installing nokogiri (Nokogiri Version),
and Bundler cannot continue.
OR
-bash: cd: /usr/share/rvm/usr/ssl: No such file or directory
OR
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.
Top comments (0)