# Ruby 1.8.4, Rails 1.1 and Rmagick?

**URL:** <https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546>\
**Category:** Rails\
**Created:** [April 11, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546 "2006-04-11T22:04:30Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 11, 2006, 10:04pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/1 "2006-04-11T22:04:30Z")

</div>

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

Is this true?

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 11, 2006, 10:10pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/2 "2006-04-11T22:10:49Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 1:36am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/3 "2006-04-12T01:36:16Z")

</div>

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](http://9cays.com)

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 1:57am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/4 "2006-04-12T01:57:45Z")

</div>

How about running Rails 1.1.2 with Ruby 1.8.2?

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 11, 2006, 10:21pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/5 "2006-04-11T22:21:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 2:01am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/6 "2006-04-12T02:01:20Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 5:21am UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/7 "2006-04-12T05:21:47Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> –  
> Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> 
> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

–  
Ben R.  
[http://www.benr75.com](http://www.benr75.com)

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 11:20pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/8 "2006-04-12T23:20:45Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![subimage](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/aca169/32.png) [@subimage](https://www.ruby-forum.com/u/subimage)\
**Post date:** [April 12, 2006, 8:50pm UTC](https://www.ruby-forum.com/t/ruby-1-8-4-rails-1-1-and-rmagick/57546/9 "2006-04-12T20:50:42Z")

</div>

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](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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > –  
> > Posted via [http://www.ruby-forum.com/](http://www.ruby-forum.com/).
> > 
> > * * *
> > 
> > Rails mailing list  
> > removed\_email\_address@domain.invalid  
> > [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)
> 
> –  
> Ben R.  
> [http://www.benr75.com](http://www.benr75.com)
