# Zena first gem: need testing

**URL:** <https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325>\
**Category:** Rails\
**Created:** [October 15, 2009, 1:25am UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325 "2009-10-15T01:25:24Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 1:25am UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/1 "2009-10-15T01:25:24Z")

</div>

Hi List !

Zena is reaching maturity and we are in the process to deliver the CMS  
as a gem for the first time.

Before pushing the gem in the wild, it would be really nice if some  
people could test the thing and give me some feedback…

download page with instructions: [http://bit.ly/31nW1l](http://bit.ly/31nW1l)

Gaspard

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 1:41pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/2 "2009-10-15T13:41:37Z")

</div>

Gaspard B. wrote:

> Hi List !
> 
> Zena is reaching maturity and we are in the process to deliver the CMS  
> as a gem for the first time.
> 
> Before pushing the gem in the wild, it would be really nice if some  
> people could test the thing and give me some feedback…
> 
> download page with instructions: [http://bit.ly/31nW1l](http://bit.ly/31nW1l)
> 
> Gaspard

Anyone to test the gem ?

Download page with instructions: [http://bit.ly/31nW1l](http://bit.ly/31nW1l)

Any feedback would be greatly appreciated.

Gaspard.

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 5:00pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/3 "2009-10-15T17:00:28Z")

</div>

On Thu, Oct 15, 2009 at 4:41 AM, Gaspard B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> > Zena is reaching maturity and we are in the process to deliver the CMS  
> > as a gem for the first time.

> Anyone to test the gem ?
> 
> Download page with instructions: [http://bit.ly/31nW1l](http://bit.ly/31nW1l)

It would be good if that page listed dependencies, so people  
wouldn’t waste time getting to e.g.

Can’t install RMagick 2.11.1. Can’t find MagickWand.h.  
\*\*\* extconf.rb failed \*\*\*

Alternatively, you might want to have the installer bypass that and  
just provide an advisory message about missing functionality – not  
every app need graphics processing.

## FWIW,

Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 6:27pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/4 "2009-10-15T18:27:07Z")

</div>

On Thu, Oct 15, 2009 at 9:09 AM, Gaspard B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> … but since images are a major component of any website nowaday  
> and since one of the goals with zena is to let non-photoshop enabled  
> people use their huge images without worrying about croping, size,  
> compression and the like, we cannot just drop the need for image  
> processing.

I’d still consider making image processing optional.

> Zena used to launch without rmagick (uses a dummy processor). I will fix  
> this: it might be useful for basic testing. The real problem is how hard  
> image processing libraries are to install…

I already have ImageMagick installed, but I’m not sure how to tell  
the rmagick gem installer where it is – haven’t run into this before  
(on OS X 10.5.8). Suggestions cheerfully accepted 🙂

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 6:09pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/5 "2009-10-15T18:09:22Z")

</div>

Hassan S. wrote:

> > Download page with instructions: [http://bit.ly/31nW1l](http://bit.ly/31nW1l)
> 
> It would be good if that page listed dependencies, so people  
> wouldn’t waste time getting to e.g.
> 
> Can’t install RMagick 2.11.1. Can’t find MagickWand.h.  
> \*\*\* extconf.rb failed \*\*\*
> 
> Alternatively, you might want to have the installer bypass that and  
> just provide an advisory message about missing functionality – not  
> every app need graphics processing.
> 
> ## FWIW,
> 
> Hassan S. ------------------------ removed\_email\_address@domain.invalid

Hi Hassan !

Thanks for the feedback. I will create a good dependencies page.

The RMagick requirement is a difficult topic. It’s a real pain to  
install, but since images are a major component of any website nowaday  
and since one of the goals with zena is to let non-photoshop enabled  
people use their huge images without worrying about croping, size,  
compression and the like, we cannot just drop the need for image  
processing.

Zena used to launch without rmagick (uses a dummy processor). I will fix  
this: it might be useful for basic testing. The real problem is how hard  
image processing libraries are to install…

There is a binary installer for unix/windows/snow leopard:  
[ImageMagick – Download](http://www.imagemagick.org/script/binary-releases.php).

You might also have found some problems with missing required gems  
(json, querybuilder). I am fixing this.

Gaspard

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 8:31pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/6 "2009-10-15T20:31:19Z")

</div>

Hassan S. wrote:

> On Thu, Oct 15, 2009 at 9:09 AM, Gaspard B.  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:
> 
> > … but since images are a major component of any website nowaday  
> > and since one of the goals with zena is to let non-photoshop enabled  
> > people use their huge images without worrying about croping, size,  
> > compression and the like, we cannot just drop the need for image  
> > processing.
> 
> I’d still consider making image processing optional.

I removed the ‘RMagick’ dependency and fixed zena’s ImageBuilder to work  
without. I tested the gem without rmagick and it’s working fine.

I uploaded the new gem to [http://bit.ly/31nW1l](http://bit.ly/31nW1l)

> I already have ImageMagick installed, but I’m not sure how to tell  
> the rmagick gem installer where it is – haven’t run into this before  
> (on OS X 10.5.8). Suggestions cheerfully accepted 🙂
> 
> –  
> Hassan S. ------------------------ removed\_email\_address@domain.invalid  
> twitter: @hassan

rmagick is one of those gems suffering from naming conventions: the gem  
is “rmagick”, but it has to be required with “RMagick”.

To see the list of installed gems:

# gem list

To reinstall a gem:

# sudo gem uninstall rmagick

# sudo gem install rmagick

To know where gems are installed:

# gem env

Gaspard

---

<div class="post-metadata">

**Author:** ![gazoduc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/c5a1d2/32.png) [@gazoduc](https://www.ruby-forum.com/u/gazoduc)\
**Post date:** [October 15, 2009, 9:06pm UTC](https://www.ruby-forum.com/t/zena-first-gem-need-testing/177325/7 "2009-10-15T21:06:20Z")

</div>

On Thu, Oct 15, 2009 at 11:31 AM, Gaspard B.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I removed the ‘RMagick’ dependency and fixed zena’s ImageBuilder to work  
> without. I tested the gem without rmagick and it’s working fine.
> 
> I uploaded the new gem to [http://bit.ly/31nW1l](http://bit.ly/31nW1l)

Cool, I’ll check it out.

> rmagick is one of those gems suffering from naming conventions: the gem  
> is “rmagick”, but it has to be required with “RMagick”.

The problem is building it – it won’t build, because it doesn’t know  
where to find that header file,

Can’t install RMagick 2.11.1. Can’t find MagickWand.h.

and I’m not sure how to tell it where it is, without rewriting the  
install  
script, which I don’t really have time for today 🙂

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan
