The Ruby version I want to deal with is old and
Installing Gem individually.
when a Gem dependency is installed.
Existing Gems may overlap.
Toggle while leaving both duplicated Gems
I want to do it. Please teach me.
for switching between installed versions of Gem
gem(gem_name,*version_requirements)->bool
.
For example, the latest version is usually called
require "csv"
pCSV::VERSION#=>"3.1.9"
If you specify a version before require,
require "rubygems"
gem "csv", "3.1.7"
require "csv"
pCSV::VERSION#=>"3.1.7"
will be
© 2024 OneMinuteCode. All rights reserved.