Ruby 1.8.4, Rails 1.1 and Rmagick?

Someone mentioned that Rmagick doesn’t work properly on this setup (Ruby
1.8.4, Rails 1.1)

Is this true?

It does not on windows. The binary is compiled against rails 1.8.2 and
will
cause a ton of rails problems. I’m not sure if it works on linux/unix.

I’m happily running Ruby 1.8.4, Rails 1.1.2, and RMagick 1.10.1 on OS
X and FreeBSD without any problems.

Pete Y.
http://9cays.com

How about running Rails 1.1.2 with Ruby 1.8.2?

subimage interactive wrote:

Someone mentioned that Rmagick doesn’t work properly on this setup (Ruby
1.8.4, Rails 1.1)

Is this true?

That’s been my experience. Running RMagick in Rails with Ruby 1.8.4
caused errors when tab characters are used in an RHTML view. It’s
something to do with a method that’s overloaded by both RMagick and the
ERb interpreter, or something like that.

I downgraded to Ruby 1.8.2 and things have been working fine.

Jeff C.man

subimage interactive wrote:

How about running Rails 1.1.2 with Ruby 1.8.2?

I’m running Rails 1.1.2 with Ruby 1.8.2 and haven’t experienced any
problems so far.

The 1.8.4/RMagick issues are Windows-only.

Jeff

Hi Jeff ~

That’s been my experience. Running RMagick in Rails with Ruby 1.8.4
caused errors when tab characters are used in an RHTML view. It’s
something to do with a method that’s overloaded by both RMagick and the
ERb interpreter, or something like that.

The tab character errors have nothing to do with RMagick from what I
understand. I just did a quick run through my site cleaning up the
tabs (which Linux had no issue with) and voila… It really is a
better practice to use spaces in place of tabs. I have EditPlus on
Windows set up to do two spaces when I hit tab instead of the tab
character.

~ Ben

On 4/11/06, Jeff C.man [email protected] wrote:


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


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Ben R.
http://www.benr75.com

Yes but does Minimagick run on XP and Unix?

I routinely develop across XP and OSX and deploy on UNIX. Rmagick is the
only thing I know that works (semi-ok) on all 3.

Forget Rmagick, it’s a pain in the ass to compile all dependencies for
(on Mac OS X) and it’s very hungry on memory when handling images. I
find Minimagick much ‘leaner’, it’s a nice wrapper for the commandline
versions. This way, you don’t have to worry about the compile hell that
is RMagick, en bypass any memory/garbage collection issue.

http://journal.gleepglop.com/articles/2005/12/04/imagemagick-the-ruby-way

Just my practical, humble opinion (a.k.a. two cents)

Ben R. wrote:

Hi Jeff ~

That’s been my experience. Running RMagick in Rails with Ruby 1.8.4
caused errors when tab characters are used in an RHTML view. It’s
something to do with a method that’s overloaded by both RMagick and the
ERb interpreter, or something like that.

The tab character errors have nothing to do with RMagick from what I
understand. I just did a quick run through my site cleaning up the
tabs (which Linux had no issue with) and voila… It really is a
better practice to use spaces in place of tabs. I have EditPlus on
Windows set up to do two spaces when I hit tab instead of the tab
character.

~ Ben

On 4/11/06, Jeff C.man [email protected] wrote:


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


Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails


Ben R.
http://www.benr75.com