Coder Social home page Coder Social logo

gem-man's People

Contributors

defunkt avatar dubek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gem-man's Issues

Request: Perform whatis / apropos functions as well

Being able to search the installed gem's man pages, as well as falling back to the system installed man pages (if -s is given, of course).

Would be nice if you could even extend it to support regular expressions. :)

Rename to rubygems-man

I had some trouble finding this project, since it does not comply with the defacto rubygem plugin naming convention of rubygems-foo.

small typo

just a small typo, fix adds missing '

diff --git a/lib/rubygems/commands/man_command.rb b/lib/rubygems/commands/man_command.rb
index 2e8328b..d931ffa 100644
--- a/lib/rubygems/commands/man_command.rb
+++ b/lib/rubygems/commands/man_command.rb
@@ -115,7 +115,7 @@ class Gem::Commands::ManCommand < Gem::Command
         pattern = /#{Regexp.escape name}/
         get_spec(pattern, &block)
       else
-        say "Can't find any manpages for '#{name.inspect}"
+        say "Can't find any manpages for '#{name.inspect}'"
         nil
       end
     elsif specs.length == 1 || options[:latest]

doesn't recognize some gem manpages

Hello,

gem-man 0.2.0 does not recognize some gem manpages. For instance:

> gem man -a
These gems have man pages:

kramdown 0.13.2
rdiscount 1.6.8
kramdown 0.10.0

In particular, my Inochi project isn't listed there, even though it has the same man/ hierarchy as kramdown:

/home/stash/app/gems/gems/inochi-6.0.2/                                        
|+bin/                                                                         
|+lib/                                                                         
|~man/                                                                         
| `~man1/                                                                      
|   `-inochi.1                                                                                                        
`-LICENSE  
/home/stash/app/gems/gems/kramdown-0.13.2/                                     
|+benchmark/                                                                   
|+bin/                                                                         
|+data/                                                                        
|+doc/                                                                         
|+lib/                                                                         
|~man/                                                                         
| `~man1/                                                                      
|   `-kramdown.1    

file(1) has this to say about the .1 files:

> file `gem env gemdir`/gems/*/man/man1/*.1 | sed 's,^.*gems/,,'
detest-3.1.3/man/man1/detest.1:         troff or preprocessor input, UTF-8 Unicode text, with very long lines
ember-0.3.1/man/man1/ember.1:           troff or preprocessor input, ASCII text, with very long lines
inochi-6.0.2/man/man1/inochi.1:         Ruby module source, UTF-8 Unicode text, with very long lines
kramdown-0.10.0/man/man1/kramdown.1:    troff or preprocessor input, ASCII text
kramdown-0.13.2/man/man1/kramdown.1:    troff or preprocessor input, ASCII text
rumai-4.1.2/man/man1/rumai.1:           troff or preprocessor input, ASCII text, with very long lines
unicorn-3.6.0/man/man1/unicorn.1:       troff or preprocessor input, ASCII text
unicorn-3.6.0/man/man1/unicorn_rails.1: troff or preprocessor input, ASCII text
webgen-0.5.14/man/man1/webgen.1:        troff or preprocessor input, ASCII text

What's going on?

Thanks for your consideration.

"ERROR: uninitialized constant Gem::VersionOption"

I installed gem-man via gem install gem-man w/ gem 1.3.5 in ruby 1.8 and ruby 1.9.1, and receive this error in both for gem-man commands. am I missing a dependency? OS is ubuntu-server karmic.

$ gem1.8 man gem-man
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::VersionOption

$ gem1.9.1 man gem-man
ERROR: While executing gem ... (NameError)
uninitialized constant Gem::VersionOption

this seems like a useful gem, thanks for sharing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.