User Tools

Site Tools


set_up_your_own_ruby_gems_library

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
set_up_your_own_ruby_gems_library [2020/11/03 04:57] – created peteyboyset_up_your_own_ruby_gems_library [2024/12/25 06:11] (current) – void hc9
Line 1: Line 1:
 +==== Setting Up A Ruby Gems Library in your user space ====
 +
 +Install with
 +
 +  gem install --user-install -n~/bin **gem_name**
 +
 +This assumes you want the gems in your ''~/bin'' folder, and that you have it added to your PATH
 +
 +Sources:
 +
 +  * https://stackoverflow.com/questions/31596273/install-gem-in-local-folder
 +  * https://guides.rubygems.org/faqs/#i-installed-gems-with---user-install-and-their-commands-are-not-available