Offline environment construction Ruby edition

To offline environment construction table of contents

gem

Execute the following command online to download the gem file.

ogem-get.sh


name=$1
version=$2
wget https://rubygems.org/downloads/$name-$version.gem

To load the gem file offline, execute the following command.

ogem-load.sh


name=$1
version=$2
gem install -l $name-$version.gem

Reference site: https://blog.tgr.wtf/%E3%80%90ruby%E3%80%91gem%E3%82%92%E3%82%AA%E3%83%95%E3%83%A9% E3% 82% A4% E3% 83% B3% E3% 81% A7% E3% 82% A4% E3% 83% B3% E3% 82% B9% E3% 83% 88% E3% 83% BC% E3% 83% AB% E3% 81% 99% E3% 82% 8B% E6% 96% B9% E6% B3% 95-346.html

Recommended Posts

Offline environment construction Ruby edition
Offline environment construction CentOS edition
[Super easy] Ruby environment construction
[Spring] Environment construction
Muscle Ruby on Rails Day 1 ~ Environment Construction ~
Docker × Spring Boot environment construction
[Rails / MySQL] Mac environment construction
Ruby ① Build a Windows environment
Offline environment construction Ruby edition
Ruby memorandum (acquisition of key value)
AWS Cloud9 environment construction Update Ruby to the latest stable version
[Java & SpringBoot] Environment Construction for Mac
Troublesome Rails environment construction flow [Windows 10]
[Rails] AWS EC2 instance environment construction