rtomayko / ronn

the opposite of roff
http://rtomayko.github.com/ronn/
Other
1.36k stars 84 forks source link

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

Open Truckle opened 8 years ago

Truckle commented 8 years ago

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 commented 5 years ago

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.