Gems install - sans docs?

Something can’t be right…

notebook:~# gem install calendar_grid
Install required dependency activesupport? [Yn] Y
Successfully installed calendar_grid-1.0.2
Successfully installed activesupport-1.3.1
Installing ri documentation for calendar_grid-1.0.2…
Installing ri documentation for activesupport-1.3.1…
Installing RDoc documentation for calendar_grid-1.0.2…
Installing RDoc documentation for activesupport-1.3.1…

ri CalendarGrid returns nothing. So where would the docs be?

On Jul 29, 2006, at 5:23 PM, Tom A. wrote:

ri CalendarGrid returns nothing. So where would the docs be?

Use gemri unless you have 1.8.5p1 or newer installed.


Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant

http://trackmap.robotcoop.com

Eric H. wrote:

Installing RDoc documentation for calendar_grid-1.0.2…
Installing RDoc documentation for activesupport-1.3.1…

ri CalendarGrid returns nothing. So where would the docs be?

Use gemri unless you have 1.8.5p1 or newer installed.

That was very helpful. Thank you.
The docs are “thin” but present.

New Problem:

irb can’t see it.

require ‘calendar_grid’
returns
LoadError: no such file to load – calendar_grid
from (irb):3:in `require’
from (irb):3
from :0

So this kind of sucks. I made the assumption that it would just work.
I’ll assume there is some path that’s fuggered up. I’ll think about
fixing it later, it’s an annoyance. But the other question that came up
while I was staring at this is:
if I install ‘calendar_grid’ then how am I supposed to know that the
object name is ‘CalendarGrid’ and how do you keep the two in your head
for the 100’s of objects?
I found it by reading the source file of the gem I installed.

On 7/30/06, Tom A. [email protected] wrote:

Installing ri documentation for activesupport-1.3.1…
That was very helpful. Thank you.
from (irb):3
from :0

Try adding:

require ‘rubygems’


Chad F.
http://chadfowler.com
http://pragmaticprogrammer.com/titles/fr_rr/ (Rails Recipes)
http://pragmaticprogrammer.com/titles/mjwti/ (My Job Went to India,
and All I Got Was This Lousy Book)
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over four million gems served!)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs