[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Re: [ANN] image_science 1.1.3 Released

Ball, Donald A Jr (Library)

5/31/2007 4:04:00 PM

> On May 30, 2007, at 17:13 , Ball, Donald A Jr (Library) wrote:
>
> > I had actually considered image_science as an alternative,
> but given
> > the lack of an image_science gem that doesn't depend on having a c
> > compiler on the box (a relative rarety in the
> > win32
> > world, sadly), it's not an option for me.
>
> More FUD! How many times I've heard this crap I have no
> idea... We've been shipping inline with inline_package for
> over 2 years now. How long do you have to propagate this?

Apologies for the misinformation. All I know is that on my win32 box, if
I gem install image_science and all its dependencies,

2 Answers

Ryan Davis

6/1/2007 6:52:00 PM

0


On Jun 1, 2007, at 00:30 , James Herdman wrote:

> Have you guys had problems deploying Rails apps with ImageScience and
> Mongrel? I tend to get strange errors about RubyInline not having
> access to
> the home directory. Similar to the problem described here (
> http://www.ruby-forum.com/to...), but with this fix not
> quite being
> 100% effective.

That's the first I've heard of for mongrel. I just dealt with
something similar on apache and blogged my fix for that. I rejected a
bug yesterday for a similar sounding Locomotive bug but the reporter
couldn't and wouldn't provide a reproducible test case (besides an
entire rails app + downloading locomotive (46m) etc etc). No clue if
that is related or not as he just couldn't get any clarity on the issue.

So, try my blog. Let me know if that works for you.

P.S. Setting HOME is not the answer. Set INLINEDIR instead.


Hyung Choi

6/5/2007 10:45:00 AM

0

Could I get some help setting up image_science in my win32 environment?
I've never worked with RubyInline and I think that's where I'm getting
stuck. I have both Visual Studio 2003 and 2005 installed. So far, I've
gotten:

gem install -y image_science
irb
irb(main):001:0> require 'image_science'
cl : Command line warning D4002 : ignoring unknown option '-lfreeimage'
cl : Command line warning D4002 : ignoring unknown option '-lstdc++'
CompilationError: error executing cl -nologo -LD -MD -Zi -O2b2xg- -G6
-I C:/tools/ruby/lib/ruby/1.8/i386-mswin32 -I C:/tools/ruby/include -o
"C:\Documents and Settings\HC/.ruby_inline/Inline_ImageSci
ence_aa58.so" "C:/Documents and
Settings/HC/.ruby_inline/Inline_ImageScience_aa58.c" -lfreeimage
-lstdc++ -link /LIBPATH:"C:/tools/ruby/lib"
/DEFAULTLIB:"msvcrt-ruby18.lib" /INCREMENTAL:no /EXPORT:Init
_Inline_ImageScience_aa58: 512
Renamed C:\Documents and
Settings\HC/.ruby_inline/Inline_ImageScience_aa58.c to C:\Documents and
Settings\HC/.ruby_inline/Inline_ImageScience_aa58.c.bad
from
C:/tools/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:391:in
`build'
from
C:/tools/ruby/lib/ruby/gems/1.8/gems/RubyInline-3.6.3/lib/inline.rb:660:in
`inline'
from
C:/tools/ruby/lib/ruby/gems/1.8/gems/image_science-1.1.3/lib/image_science.rb:84
from
C:/tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from
C:/tools/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:32:in
`require'
from (irb):1

--
Posted via http://www.ruby-....