From: Santanu Date: 2007-12-27T23:24:58+09:00 Subject: Re: about method docs On Dec 27, 6:56 pm, Jeremy McAnally wrote: > I believe you can use `help`. For example: help puts > First of all, thanks for your response. Yes, I did try things like 'help puts', but all I get are these error messages: ------------------------------------------- irb(main):032:0> help puts No ri documentation found in: Was rdoc run to create documentation? Errno::ENOENT: No such file or directory - (null) from /usr/lib/ruby/1.8/rdoc/usage.rb:100:in `initialize' from /usr/lib/ruby/1.8/rdoc/usage.rb:100:in `open' from /usr/lib/ruby/1.8/rdoc/usage.rb:100:in `usage_no_exit' from /usr/lib/ruby/1.8/rdoc/usage.rb:93:in `usage' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:39:in `report_missing_documentation' from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:25:in `initialize' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `gem_original_require' from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in `require' from (eval):3:in `help' from (irb):32 from (null):0 irb(main):033:0> ------------------------------------- I use Ubuntu 7.10, and I have already installed rdoc. I don't understand the error message much but it seems I have to do something else to make the help command work. Do I have to install ruby source and run rdoc through them? Regards, Santanu