Hi Tony,

Yea I checked and tried using the same name from gems/lib

dependency "image_science", :require_as => 'image_science.rb'

No luck!!

I will try to update to latest Merb maybe that will fix it.

Thanks,

Peter.

On Tue, Dec 16, 2008 at 3:42 PM, Tony Mann <[email protected]> wrote:
> Go look in the lib directory of the gem's install folder. You will see a
> file SOMETHING.rb. That SOMETHING is what you need to use for require_as.
>
> ..tony..
>
> On Tue, Dec 16, 2008 at 2:49 PM, Peter Dirickson <[email protected]> wrote:
>>
>> Hi,
>>
>> Any idea how to do the same for ImageScience? I've tried all combinations:
>>
>> dependency "image_science"
>> dependency "image_science", :require_as => 'ImageScience.rb'
>> dependency "image_science", :require_as => 'image_science.rb'
>>
>> but getting:
>> bin/merb -V
>> LoadError: no such file to load -- image_science
>>
>> and I have it bundled it /gems
>>
>> Using Merb 1.0
>>
>> Thanks,
>>
>> Peter.
>>
>> On Fri, Dec 12, 2008 at 11:03 AM, skrat <[email protected]> wrote:
>> >
>> > THANKS! it works now. anyway, it should be fixed inside RMagick,
>> > because filenames with capitals in ruby are non-convention
>> >
>> > On Dec 12, 5:16 pm, "Tony Mann" <[email protected]> wrote:
>> >> In your dependency 'rmagick' statement in dependencies.rb, add
>> >> :require_as
>> >> => 'RMagick.rb".
>> >>
>> >> ..tony..
>> >>
>> >> On Fri, Dec 12, 2008 at 1:05 AM, skrat <[email protected]>
>> >> wrote:
>> >>
>> >> > Hi there, I have problems with bundling rmagick gem into may app,
>> >> > using thor and bin/merb I am constantly getting this:
>> >>
>> >> > sk...@cheeba:~/workspace/absent_t
>> >> > $ thor merb:gem:install rmagick
>> >> > Installing 1 gem...
>> >> > This may take a while...
>> >> > Installing rmagick...
>> >> > Building native extensions.  This could take a while...
>> >> > Successfully installed rmagick-2.8.0
>> >>
>> >> > sk...@cheeba:~/workspace/absent_t
>> >> > $ ll gems/gems/ | grep rmagick
>> >> > drwxr-xr-x  6 skrat skrat 4096 2008-12-11 02:02 rmagick-2.8.0
>> >>
>> >> > sk...@cheeba:~/workspace/absent_t
>> >> > $ bin/merb
>> >> > Loading init file from /home/skrat/workspace/absent_t/config/init.rb
>> >> > Loading /home/skrat/workspace/absent_t/config/environments/
>> >> > development.rb
>> >> >  ~
>> >> >  ~ FATAL: The file rmagick was not found
>> >> >  ~
>> >>
>> >> > sk...@cheeba:~/workspace/absent_t
>> >> > $
>> >>
>> >>
>> > >
>> >
>>
>>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" 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/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to