You might get more of a response if you actually quote the lines in your
controller where you attempt to initialize the client...

   A.

On Tue, Feb 10, 2015 at 9:25 AM, Deepak <grc.dee...@gmail.com> wrote:

> Hello All,
>
> I am trying to use the openLibrary gem and I get the following error.
> Please let me know if you have any idea what might be the problem.
>
> NameError (uninitialized constant Openlibrary::Client):
> app/controllers/books_controller.rb:8:in `index’
>
> What did I do ?
> 1. added openLibrary gem in gemfile and did a bundle install
> 2. Try to initialize the open library client in my controller.
>
> Am I missing anything ?
>
> Here are my versions.
>
> $ rails -v
> Rails 4.2.0
> $ ruby -v
> ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin13]
>
> Thanks,
> -Deepak
>
> _______________________________________________
> Ol-tech mailing list
> ol-tech@archive.org
> http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
> Archives: http://www.mail-archive.com/ol-tech@archive.org/
> To unsubscribe from this mailing list, send email to
> ol-tech-unsubscr...@archive.org
>



-- 
    Asaf Bartov
    Wikimedia Foundation <http://www.wikimediafoundation.org>

Imagine a world in which every single human being can freely share in the
sum of all knowledge. Help us make it a reality!
https://donate.wikimedia.org
_______________________________________________
Ol-tech mailing list
ol-tech@archive.org
http://mail.archive.org/cgi-bin/mailman/listinfo/ol-tech
Archives: http://www.mail-archive.com/ol-tech@archive.org/
To unsubscribe from this mailing list, send email to 
ol-tech-unsubscr...@archive.org

Reply via email to