red-data-tools/YouPlot

uplot: command not found

egor-ryashin opened this issue · 6 comments

I suspect documentation is not complete, not sure how to resolve this:

macbook:test$ gem install youplot
Fetching youplot-0.4.5.gem
Fetching unicode_plot-0.0.5.gem
Fetching enumerable-statistics-2.0.7.gem
Building native extensions. This could take a while...
Successfully installed enumerable-statistics-2.0.7
Successfully installed unicode_plot-0.0.5
Successfully installed youplot-0.4.5
Parsing documentation for enumerable-statistics-2.0.7
Installing ri documentation for enumerable-statistics-2.0.7
Parsing documentation for unicode_plot-0.0.5
Installing ri documentation for unicode_plot-0.0.5
Parsing documentation for youplot-0.4.5
Installing ri documentation for youplot-0.4.5
Done installing documentation for enumerable-statistics, unicode_plot, youplot after 1 seconds
3 gems installed
macbook:test$ uplot
-bash: uplot: command not found
gn0 commented

Try running find ~/.local/share/gem/ -name uplot. Does that come up with anything?

No luck

find <home>/.local/share/gem/: No such file or directory

I've found I have 2 executable directories when I ran gem env - one for 2.6.0 and another for 3.0.0 (this one wasn't in the PATH), so I added version 3 to PATH export PATH="/usr/local/lib/ruby/gems/3.0.0/bin:$PATH". Now it works, thanks.

If you don't mind, could you tell me how you installed Ruby?

brew install ruby

Thank you, we would like to make it possible for Mac users to install YouPlot using the package manager Homebrew.
#33