Forum: Ruby on Rails Ruby 1.8.4, Rails 1.1 and Rmagick?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 seth b. (subimage)
on 2006-04-11 22:04
(Received via mailing list)
Someone mentioned that Rmagick doesn't work properly on this setup (Ruby
1.8.4, Rails 1.1)

Is this true?
0a5d6fa912dda67f9b81017fbd9a81f2?d=identicon&s=25 Shane Sherman (Guest)
on 2006-04-11 22:10
(Received via mailing list)
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.
59ea1b450935b9d70abfec4186b7a4d5?d=identicon&s=25 Jeff Coleman (progressions)
on 2006-04-11 22:21
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 Coleman
C9c7a65848f13e2b1a226bbe43bc3672?d=identicon&s=25 Pete Yandell (pete)
on 2006-04-12 01:36
(Received via mailing list)
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 Yandell
http://9cays.com
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 seth b. (subimage)
on 2006-04-12 01:57
(Received via mailing list)
How about running Rails 1.1.2 with Ruby 1.8.2?
59ea1b450935b9d70abfec4186b7a4d5?d=identicon&s=25 Jeff Coleman (progressions)
on 2006-04-12 02:01
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
D90ef6808433e63203e15a5c2dadb0bb?d=identicon&s=25 Ben Reubenstein (Guest)
on 2006-04-12 05:21
(Received via mailing list)
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 Coleman <progressions@gmail.com> wrote:
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>


--
Ben Reubenstein
http://www.benr75.com
87c0ef11b124847a002cca20814e8f3c?d=identicon&s=25 Nicky Peeters (Guest)
on 2006-04-12 20:50
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/i...

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

Ben Reubenstein 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 Coleman <progressions@gmail.com> wrote:
>> --
>> Posted via http://www.ruby-forum.com/.
>> _______________________________________________
>> Rails mailing list
>> Rails@lists.rubyonrails.org
>> http://lists.rubyonrails.org/mailman/listinfo/rails
>>
>
>
> --
> Ben Reubenstein
> http://www.benr75.com
Efe398b3b5436b0a8d4430090e8f86ea?d=identicon&s=25 seth b. (subimage)
on 2006-04-12 23:20
(Received via mailing list)
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.
This topic is locked and can not be replied to.