<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>UK Ruby on Rails, Exalead, AWS, Consultancy - ImageScience and RubyInline on Windows Comments</title>
  <id>tag:thewebfellas.com,2011:/blog/2007/12/2/imagescience-and-rubyinline-on-windows/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows/comments.xml" rel="self" type="application/atom+xml"/>
  <link href="/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
  <updated>2008-02-18T20:04:56Z</updated>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:334</id>
    <published>2008-02-18T20:04:56Z</published>
    <updated>2008-02-18T20:04:56Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Rob</title>
<content type="html">&lt;p&gt;I have now posted an updated version of these instructions &lt;a href=&quot;/blog/2008/2/18/imagescience-on-windows-without-the-pain&quot; title=&quot;Read the new blog entry&quot;&gt;here&lt;/a&gt;.&lt;br /&gt;Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Fabio</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:284</id>
    <published>2008-02-15T00:38:26Z</published>
    <updated>2008-02-15T00:38:26Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Fabio</title>
<content type="html">&lt;p&gt;Excelent job on the guides and on the win32 version of the gem, guys! :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:271</id>
    <published>2008-02-13T08:18:19Z</published>
    <updated>2008-02-13T08:18:19Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Rob</title>
<content type="html">&lt;p&gt;Hi Jim,&lt;/p&gt;

&lt;p&gt;I used Sazima’s instructions last week to setup image_science and attachment_fu for a project I’m working on and it all worked first try: so yes if you follow Sazima’s instructions it should work for you!&lt;/p&gt;

&lt;p&gt;Good luck,
Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Jim</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:268</id>
    <published>2008-02-12T18:01:11Z</published>
    <updated>2008-02-12T18:01:11Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Jim</title>
<content type="html">&lt;p&gt;Hi guys!&lt;/p&gt;

&lt;p&gt;I have found you after a long day trying to install imagescience on my windows for a ruby app. As you say I have felt as an acrobat and still something is wrong and I can not use the attachment_fu plugin because of that. Now I found you and I am going to try Sazima's way, is it correct? is it your final step-by-step guide?&lt;/p&gt;

&lt;p&gt;Anyway thanks for the help&lt;/p&gt;

&lt;p&gt;Jim&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:157</id>
    <published>2008-01-25T09:01:46Z</published>
    <updated>2008-01-25T09:01:46Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Rob</title>
<content type="html">&lt;p&gt;Thanks for that Sazima - I really need to update the article but haven't had chance yet.&lt;/p&gt;

&lt;p&gt;It's amazing how much shorter the instructions are thanks to &lt;a href=&quot;http://mmediasys.com/ruby/&quot; title=&quot;Go to Luis’ Ruby gems&quot;&gt;Luis’&lt;/a&gt; work on the Win32 ImageScience gem - thanks again Luis!&lt;/p&gt;

&lt;p&gt;Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Sazima</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:155</id>
    <published>2008-01-25T02:39:07Z</published>
    <updated>2008-01-25T02:39:07Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Sazima</title>
<content type="html">&lt;p&gt;Hey Rob,&lt;/p&gt;

&lt;p&gt;Just to summarize, I did the following and (apparently) it works:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;attachment_fu
&lt;ul&gt;
&lt;li&gt;Ruby Inline: gem install RubyInline&lt;/li&gt;
&lt;li&gt;ImageScience: gem install .\image_science-1.1.3-i386-mswin32.gem (http://mmediasys.com/ruby/)&lt;/li&gt;
&lt;li&gt;FreeImage (http://sf.net/projects/freeimage)
&lt;ul&gt;
&lt;li&gt;Copy FreeImage.dll from the dist directory to C:\Windows\system32.&lt;/li&gt;
&lt;li&gt;Copy FreeImage.h from the dist directory to $RUBY_HOME\include (you might need to create this directory).&lt;/li&gt;
&lt;li&gt;Copy FreeImage.lib from the dist directory to $RUBY_HOME\lib.&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Cheers, Sazima&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Mark</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:141</id>
    <published>2008-01-21T20:15:01Z</published>
    <updated>2008-01-21T20:15:01Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Mark</title>
<content type="html">&lt;p&gt;Awesome posting _ I got my XP system up and running in no time!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Luis Lavena</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:37</id>
    <published>2007-12-04T13:21:56Z</published>
    <updated>2007-12-04T13:21:56Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Luis Lavena</title>
<content type="html">&lt;p&gt;Yeah!, the OCI team need to hear us! ;-)&lt;/p&gt;

&lt;p&gt;Eh, actually, I'm part of the team :-P&lt;/p&gt;

&lt;p&gt;I'm working on it, but still need to have a stable environment before release something in the wild.&lt;/p&gt;

&lt;p&gt;Keep one eye on ruby-talk for announcements :-D&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:36</id>
    <published>2007-12-04T08:47:32Z</published>
    <updated>2007-12-04T08:47:32Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Rob</title>
<content type="html">&lt;p&gt;That’s excellent news. I expect ImageScience will become a whole lot more popular on Windows now that the hassles of compilation have been removed.&lt;/p&gt;

&lt;p&gt;Maybe now we should try and convince the one-click installer team to upgrade to a newer version of the C compiler!&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Luis Lavena</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:33</id>
    <published>2007-12-03T14:56:51Z</published>
    <updated>2007-12-03T14:56:51Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Luis Lavena</title>
<content type="html">&lt;p&gt;Yeah, the ruby extensions experience on Windows remove all the joy of using Ruby (ala: it plain sucks).&lt;/p&gt;

&lt;p&gt;Good a few minutes to spare and generated the proper gems with VC6:&lt;/p&gt;

&lt;p&gt;http://mmediasys.com/ruby/&lt;/p&gt;

&lt;p&gt;Ryan is still busy (with his project) but promised will integrate all the pending patches to Hoe, Inline and ImageScience soon.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Rob</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:32</id>
    <published>2007-12-02T21:16:23Z</published>
    <updated>2007-12-02T21:16:23Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Rob</title>
<content type="html">&lt;p&gt;Hi Luis,&lt;/p&gt;

&lt;p&gt;Thanks for the warning - I do have an old copy of Visual C++ 6.0 so I'll have to dust off the CD and get it installed. I got the idea of using a newer version of the C compiler from &lt;a href=&quot;http://www.turnofthecrank.com/2006/09/11/ruby-ldap-and-win32/&quot; title=&quot;Read about ruby-ldap on Windows&quot;&gt;this post&lt;/a&gt; (which it occurs to me that I didn't credit for the changes made to &lt;kbd&gt;config.h&lt;/kbd&gt;).&lt;/p&gt;

&lt;p&gt;I also came across &lt;a href=&quot;http://apocryph.org/totally_bullshit_ruby_extension_experience_windows&quot; title=&quot;Read a Ruby on Windows rant&quot;&gt;this rant&lt;/a&gt; (which is quite funny too) about compiling Ruby extensions on Windows which might be useful background reading.&lt;/p&gt;

&lt;p&gt;Thanks again, Rob&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://thewebfellas.com/">
    <author>
      <name>Luis Lavena</name>
    </author>
    <id>tag:thewebfellas.com,2007-12-02:30:31</id>
    <published>2007-12-02T18:25:48Z</published>
    <updated>2007-12-02T18:25:48Z</updated>
    <category term="Blog"/>
    <link href="http://thewebfellas.com/blog/2007/12/2/imagescience-and-rubyinline-on-windows" rel="alternate" type="text/html"/>
    <title>Comment on 'ImageScience and RubyInline on Windows' by Luis Lavena</title>
<content type="html">&lt;p&gt;Rob, very instructive tutorial, but be careful.&lt;/p&gt;

&lt;p&gt;The problem with compiling ruby extension with outher ompiling besides VC6 is that the extensions will link to a different runtime than the one ruby is linked to (MSVCR80.dll for the extension, MSVCRT.dll for ruby). Also, FreeImage.dll with another runtime (afaik, cannot check it right now).&lt;/p&gt;

&lt;p&gt;This posses a huge problem: memory allocated by one runtime cannot be freed by another version of the runtime, and that can lead to huge and unknown crashes in your application.&lt;/p&gt;

&lt;p&gt;I've submitted a few patches for Inline and Hoe to simplify the packaging of inlined libraries, but those are getting dusty on RubyForge since Ryan didn't take a look to them.&lt;/p&gt;

&lt;p&gt;We should start doing lobby and bugging Ryan to accept them, so ParseTree and other inlined gems get good and proper windows support.&lt;/p&gt;

&lt;p&gt;I already have provided with debugging support of Aman Gupta good ParseTree mswin32 gems compiled with VC6 (sequel guys use it).&lt;/p&gt;

&lt;p&gt;ImageScience isn't so complex as ParseTree, but the proposed patches will make it simpler.&lt;/p&gt;

&lt;p&gt;So: help me bugging Ryan and get those patches commited! :-D&lt;/p&gt;</content>  </entry>
</feed>

