Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bash does not recognize RONN. Man page does not install. #96

Open
Truckle opened this issue Apr 8, 2016 · 1 comment
Open

Bash does not recognize RONN. Man page does not install. #96

Truckle opened this issue Apr 8, 2016 · 1 comment

Comments

@Truckle
Copy link

Truckle commented Apr 8, 2016

System version: OpenSuse Leap updated all packages to current release.
Ruby version:

@linux:/> ruby -v
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux-gnu]

I installed ronn and the dependent rubygems hpricot, mustache, and rdiscount.

gem install ronn hpricot mustache rdiscount

ruby says native extensions built everything installed OK.

at CLI in konsole command 'ronn' not recognized.

@linux:/> ronn
If 'ronn' is not a typo you can use command-not-found to lookup the package that contains it, like this:
    cnf ronn

I uninstalled and reinstalled the gems. Still ronn is not recognized and there is no man page on the system for ronn. I updated the man index still with no luck.

# gem install ronn mustache rdiscount hpricot  
Fetching: hpricot-0.8.6.gem (100%)
Building native extensions.  This could take a while...
Successfully installed hpricot-0.8.6
Fetching: rdiscount-2.1.8.gem (100%)
Building native extensions.  This could take a while...
Successfully installed rdiscount-2.1.8
Fetching: mustache-1.0.3.gem (100%)
Successfully installed mustache-1.0.3
Fetching: ronn-0.7.3.gem (100%)
Successfully installed ronn-0.7.3
Parsing documentation for hpricot-0.8.6
Installing ri documentation for hpricot-0.8.6
Parsing documentation for mustache-1.0.3
Installing ri documentation for mustache-1.0.3
Parsing documentation for rdiscount-2.1.8
Installing ri documentation for rdiscount-2.1.8
Parsing documentation for ronn-0.7.3
Installing ri documentation for ronn-0.7.3
Done installing documentation for hpricot, mustache, rdiscount, ronn after 9 seconds
Successfully installed mustache-1.0.3
Parsing documentation for mustache-1.0.3
Done installing documentation for mustache after 1 seconds
Building native extensions.  This could take a while...
Successfully installed rdiscount-2.1.8
Parsing documentation for rdiscount-2.1.8
Done installing documentation for rdiscount after 0 seconds
Building native extensions.  This could take a while...
Successfully installed hpricot-0.8.6
Parsing documentation for hpricot-0.8.6
Done installing documentation for hpricot after 3 seconds
7 gems installed

This looks like a really great tool ... if it would work! Please help.

@apjanke
Copy link

apjanke commented Dec 22, 2018

When you install a program via gem, it sticks binaries in a place that may not be on the path by default. Two options:

a) Try installing with sudo: sudo gem install ronn which might get it to link to your default /usr/local/bin command area.

b) Add it to your path: gem installed these commands to something like /usr/local/lib/ruby/gems/2.5.0/bin. Add that to your path: in your ~/.profile or ~/.zshrc, add a PATH="/usr/local/lib/ruby/gems/2.5.0/bin:$PATH, and it'll make all your gem-installed commands, including ronn, be on your path.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants