I’m running Ruby on Windows. How can i see the man pages for irb, etc?
Bret
I’m running Ruby on Windows. How can i see the man pages for irb, etc?
Bret
On 6/21/06, [email protected] [email protected] wrote:
I’m running Ruby on Windows. How can i see the man pages for irb, etc?
You can’t.
However, “irb --help” works.
-austin
On 6/21/06, [email protected] [email protected] wrote:
I’m running Ruby on Windows. How can i see the man pages for irb, etc?
Bret
Although ruby itself has a man page, I don’t believe the other 4
horsemen (irb, ri, gem, and rdoc) have man pages. For their docs, use:
irb --help
ri --help
gem --help
rdoc --help
Incidentally, on my Debian system, I installed Ruby by-hand into
/opt/ruby-1.8.4, so the ruby man page is
/opt/ruby-1.8.4/man/man1/ruby.1, and it comes up when running “man
ruby”, but I’ve got no idea how the man command finds it. I never
touched my $MANPATH after installing Ruby… though I don’t think
Debian uses a simple MANPATH env var these days anyway (it instead
uses some fancy mandb index frobnicator thingy).
Anyhow, no idea how you’d read the ruby man page on an MS platform.
Google can find you one on the net though:
—John
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs