Guide to ruby: Difference between revisions
Jump to navigation
Jump to search
(Created page with "I don't really use ruby but here's some info because projects I use, use ruby. When I install jekyll I get a warning about the user gem directory not being on path: $ gem i...") |
(No difference)
|
Latest revision as of 12:35, 5 July 2023
I don't really use ruby but here's some info because projects I use, use ruby.
When I install jekyll I get a warning about the user gem directory not being on path:
$ gem install jekyll --user-install WARNING: You don't have /home/razzi/.local/share/gem/ruby/3.1.0/bin in your PATH [...]
So I add it as follows to my ~/.profile:
export ruby_home=$(ruby -e 'puts Gem.user_dir') export PATH="$PATH:$ruby_home/bin"