On 6 Dec 2015 02:14, "Yash Narwal" <ynar...@gmail.com> wrote:
>
> Either way , I can not use this gem in the ruby script or rails app. I have been trying to fix but could not find any single guide to do so. The documentation on the gem page is very helpless.
>
In a rails app you do not need the require statement. Take that out and if you get an error when you try to use it post the error and a section of code and also Gemfile.lock
Colin
> Thanks
> Yash
>
> On Tuesday, December 1, 2015 at 8:36:49 AM UTC+11, Colin Law wrote:
>>
>> On 30 November 2015 at 21:22, Colin Law <cla...@gmail.com> wrote:
>> > On 30 November 2015 at 19:26, Yash Narwal <ynar...@gmail.com> wrote:
>> >> Hey mate thanks for heads up, your suggestion worked in installing the gem.
>> >> But how can I use this gem now, like if I follow this example , it gives me
>> >> no such file can not be loaded 'numru/grib'. So is there any other docs
>> >> which should I follow to use this gem ?
>> >
>> > I have no idea, I have not heard of it before you asked, I just
>> > googled a bit to come up with my previous suggestion. However if you
>> > tell us more someone may be able to help. Post the source file around
>> > the area giving the error and post the full error message and tell us
>> > which line it is failing on.
>>
>> On second thoughts I assume you are getting the error on the line
>> require 'numru/grib'. Is this in a Ruby on Rails app or in a straight
>> ruby script?
>>
>> Colin
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/cd86f665-7614-44ca-b3f4-89b3dbde410a%40googlegroups.com.