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):
ここら辺のドキュメントを読むのを忘れていた。
これを読みながらインストールに再挑戦してみよう。
関連記事
- PREV
- 今日の体重
- NEXT
- Array#injectで合計を算出する