[Ruby] Packaging up image_science

Joe Van Dyk joevandyk at gmail.com
Thu Aug 16 15:12:18 PDT 2007


On 8/16/07, Eric Hodel <drbrain at segment7.net> wrote:
> On Aug 16, 2007, at 13:44, Eric Hodel wrote:
> > On Aug 13, 2007, at 10:29, Joe Van Dyk wrote:
> >> How can I package up image_science to use in my Rails application?  I
> >> don't want to have the web servers compile it.  Ideally, I could put
> >> the shared lib into vendor/lib in my Rails app or something similar.
> >>
> >> I read something about inline_package, but I can't figure out how to
> >> use it with image_science.
> >
> > gem unpack image_science
> > cd image_science-version
> > inline_package image_science version
>
> No, I lied.
>
> inline_package image_science-darwin 1.1.3
> gem install pkg/image_science-darwin-1.1.3.gem

So, ruby_inline looks for the shared library as a gem first?  And if
it doesn't exist as a gem, then it builds it?

Joe


More information about the Ruby mailing list