# Offline documentation for ruby

**URL:** <https://www.ruby-forum.com/t/offline-documentation-for-ruby/153926>\
**Category:** Ruby\
**Created:** [November 23, 2008, 2:56am UTC](https://www.ruby-forum.com/t/offline-documentation-for-ruby/153926 "2008-11-23T02:56:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [November 23, 2008, 2:56am UTC](https://www.ruby-forum.com/t/offline-documentation-for-ruby/153926/1 "2008-11-23T02:56:19Z")

</div>

Dear all

I try to run ri String in my Window command prompt, it show the  
following error

‘less’ is not recognized as an internal or external command, operable  
program or batch file.

Is the ri not support for window? How can I fix it?

Thank you very much

Valentino

---

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [November 23, 2008, 10:50am UTC](https://www.ruby-forum.com/t/offline-documentation-for-ruby/153926/2 "2008-11-23T10:50:52Z")

</div>

On 23.11.2008 02:52, Valentino L. wrote:

> Dear all
> 
> I try to run ri String in my Window command prompt, it show the  
> following error
> 
> ‘less’ is not recognized as an internal or external command, operable  
> program or batch file.
> 
> Is the ri not support for window? How can I fix it?

Try setting environment variable PAGER to more, e.g.

set PAGER=more

No idea whether that helps. I can’t test it because I don’t use the  
Windows distribution.

Kind regards

robert

---

<div class="post-metadata">

**Author:** ![on9west](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/6f9a4e/32.png) [@on9west](https://www.ruby-forum.com/u/on9west)\
**Post date:** [November 27, 2008, 7:57am UTC](https://www.ruby-forum.com/t/offline-documentation-for-ruby/153926/3 "2008-11-27T07:57:05Z")

</div>

On Sat, Nov 22, 2008 at 5:52 PM, Valentino L. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I try to run ri String in my Window command prompt, it show the  
> following error…

How did you install Ruby on Windows?

I’m using the One Click Installer (Ruby 1.8.6), and “ri String” works  
just fine (on XP and Vista).

Hope this helps,

Wayne

* * *

Wayne V.  
No Bugs Software  
Agile Ruby (but preferably not Rails) Contract Programming in Silicon  
Valley since 2001
