busyloop / lolcat

Rainbows and unicorns!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lolcat vs ruby/gem issue

wildbi111 opened this issue · comments

I installed lolcat (99.9.69) on Fedora 30 using 'gem install lolcat' and it works when run as root, but as a normal user it fails with this error:

Traceback (most recent call last):
2: from /usr/local/bin/lolcat:23:in <main>' 1: from /usr/share/rubygems/rubygems.rb:302:in activate_bin_path'
/usr/share/rubygems/rubygems.rb:283:in `find_spec_for_exe': can't find gem lolcat (>= 0.a) with executable lolcat (Gem::GemNotFoundException)

I don't know if I figured out a fix or workaround. But copying the .gem directory created by the
"gem install lolcat" command to each users home dir and changing owner.group has resolved the program. If there is a better way of doing this please let me know.

commented

Fyi, lolcat can now be install with snap.

sudo snap install lolcat

I'm so glad sudo gem install lolcat is an option. Love the colors!