offline documentation for ruby

V

Valentino Lun

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
 
R

Robert Klemme

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
 
W

Wayne Vucenic

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top