YouPlot icon indicating copy to clipboard operation
YouPlot copied to clipboard

uplot: command not found

Open egor-ryashin opened this issue 2 years ago • 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

egor-ryashin avatar Jan 13 '23 15:01 egor-ryashin

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

gn0 avatar Jan 13 '23 19:01 gn0

No luck

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

egor-ryashin avatar Jan 14 '23 10:01 egor-ryashin

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.

egor-ryashin avatar Jan 14 '23 10:01 egor-ryashin

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

kojix2 avatar Jan 14 '23 11:01 kojix2

brew install ruby

egor-ryashin avatar Jan 15 '23 10:01 egor-ryashin

Thank you, we would like to make it possible for Mac users to install YouPlot using the package manager Homebrew. https://github.com/red-data-tools/YouPlot/issues/33

kojix2 avatar Jan 15 '23 14:01 kojix2