On Thursday, 28 October 2021 12:08:01 BST Dr Rainer Woitok wrote:

> I faintly remember  ... long time ago,  when I had to use some Ruby gems
> under both, Ubuntu and Gentoo I think I did something along the lines of
> 
>    $ gem install $pkg --user-install

Er...
$ gem install jekyll bundler --user-install
ERROR:  Use --install-dir or --user-install but not both

I couldn't find anything helpful in '$ gem help install' either.

>    $ ln -s $(ls -drv ~/.gem/ruby/*/gems/$pkg-*/bin/$pkg | head -1) ~/bin
> 
> where the asterisks matched different Ruby and package versions, respec-
> tively, and the "-rv" option for the "ls" command caused the most recent
> versions to be picked by the "head" command.  And of course, my personal
> "~/bin/" directory was mentioned in "PATH" early on.
> 
> Not sure though, whether or not that will help you.

Thanks anyway, Rainer.

-- 
Regards,
Peter.




Reply via email to