LoginSignup
1
2

More than 1 year has passed since last update.

オフライン環境構築 Ruby Gem編

Last updated at Posted at 2020-10-18

オフライン環境構築 目次へ

はじめに

オフラインでRuby gemを使いたい人のための手順。

gem

オンラインで以下のコマンドを実行し、gemファイルをダウンロードする。

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

オフラインでgemファイルをロードするときは以下のコマンドを実行する。

ogem-load.sh
name=$1
version=$2
gem install -l $name-$version.gem
1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2