Posts

Showing posts from June, 2021

RVM and Gemset

 GemSet-  A  gemset  is just a container you can use to keep gems separate from each other. Creating a  gemset  per project allows you to change gems (and gem versions) for one project without breaking all your other projects. Each project need only worry about its own gems. RVM- RVM is a command-line tool for managing multiple ruby versions and also uses a separate gemset for each rails app. RVM is a command-line tool that allows you to easily install, manage, and work with multiple ruby environments from interpreters to sets of gems. [ source:  https://rvm.io/  (official rvm website) ] Ruby Version Manager, often abbreviated as RVM, is a software platform for Unix-like operating systems designed to manage multiple installations of Ruby on the same device. The entire ruby environment including the Ruby interpreter installed RubyGems, and documentation is partitioned. [ source: Wikipedia ] Why we need RVM Let’s see an example. S u ppose, you have ...