Installing RubyGems in a User Directory

公開日: : 最終更新日:2014/01/30 Ruby

記事内に広告を含む場合があります。記事内で紹介する商品を購入することで、当サイトに売り上げの一部が還元されることがあります。

3.2 Installing RubyGems in a User Directory

If a user does not have access to the standard installation location (typically /usr/local/lib/ruby), then they have the option of installing RubyGems in a alternate location.

Note that if you can窶冲 install RubyGems in the standard location, then you probably can窶冲 install gems in the standard gem repository location either. You need to specifiy a non-standard gem repository location via the GEM_HOME environment variable.

Use the following to install RubyGems in a user directory (here called /home/mystuff) with a repository named /home/mygemrepository):

RubyGems User Guide | RubyGems Manuals

ここら辺のドキュメントを読むのを忘れていた。

これを読みながらインストールに再挑戦してみよう。

関連記事

サンフランシスコのピア39にあるチャウダーズでクラムチャウダーを食す!

lolipop アップルの開発者向けイベント「WWDC2014」

ミスドのカルピスドーナツとカルピスポンデリングを食べてみた!

ミスドで期間限定のカルピスコラボ商品「カルピスドーナツ」と「カルピ

十三カレー計画で牛すじカレーネギのせを食す!(大阪・十三)

「iPhoneアプリ開発キャンプ@大阪」のランチで、十三カレー計画

大阪・難波の加寿屋 法善寺でかすうどんを食す。ランチタイムはおにぎり2個まで無料!

大阪・難波の加寿屋 法善寺 (かすうどん KASUYA)で、かす

ライブドアブログで運営していた「あきお商店」を「卵は世界である」に改名しました

少し前からライブドアブログで「あきお商店」というブログをやって

→もっと見る

PAGE TOP ↑