I didn't originally, but now I did.  I added:

require 'blackbook'

and now, I get

no such file to load -- blackbook

I've checked and blackbook.rb is installed here:

C:\ruby\lib\ruby\gems\1.8\gems\blackbook-1.0.4\lib

i don't have any idea how ruby looks for gems or where.  this error
tells me it can't find blackbook.rb.  Any ideas?

Thanks,
Dino

On Sep 9, 4:47 pm, John Yerhot <[EMAIL PROTECTED]> wrote:
> Did you require the gem?
>
> On Sep 9, 3:37 pm, "dino d." <[EMAIL PROTECTED]> wrote:
>
> > Hi - I wanted to try out the Blackbook gem:
>
> >http://contentfree.rubyforge.org/blackbook/
>
> > So I did
>
> > gem install blackbook
>
> > and I kept getting failures installing, and finally I used the --
> > ignore-dependencies flag in gem install, and I got it installed. Now I
> > try to do something very simple like
>
> > contacts = Blackbook.get :username => '[EMAIL PROTECTED]', :password =>
> > 'password'
>
> > and I get
>
> > NameError: uninitialized constant Blackbook
>
> > at both the console and in the debugger.  my question is, do I have to
> > do something to use the newly installed gem?  I'm new to gems and have
> > only used them for examples and such.
>
> > Thanks for any help,
> > Dino
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to