# RMagick - missing methods on Magick::Draw

**URL:** <https://www.ruby-forum.com/t/rmagick-missing-methods-on-magick-draw/81013>\
**Category:** Ruby\
**Created:** [January 3, 2007, 1:25am UTC](https://www.ruby-forum.com/t/rmagick-missing-methods-on-magick-draw/81013 "2007-01-03T01:25:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecccb3/32.png) [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Post date:** [January 3, 2007, 1:25am UTC](https://www.ruby-forum.com/t/rmagick-missing-methods-on-magick-draw/81013/1 "2007-01-03T01:25:51Z")

</div>

I’ve recently moved a Rails app from a Linux box to a Solaris container.  
The app makes use the excellent sparklines plug-in which in turn depends  
on RMagick. The Solaris box has RMagick gem 1.1.3 compiled against  
GraphicsMagick 1.1.7 (same as the Linux box).

Unfortunately the sparklines plug-in makes use of methods on  
Magick::Draw that are present on the Linux box, but not on the Solaris  
box and I’m rather confused as to why this would be the case. Here’s a  
list of the missing methods:

“fill”, “opacity”, “rectangle”, “scale”, “line”, “define\_clip\_path”,  
“stroke\_antialias”, “pop”, “gravity”, “fill\_rule”, “text\_align”,  
“ellipse”, “stroke\_dasharray”, “font”, “stroke\_dashoffset”, “matte”,  
“clip\_path”, “font\_family”, “text\_anchor”, “point”, “stroke\_linecap”,  
“pointsize”, “clip\_rule”, “skewx”, “font\_stretch”, “bezier”,  
“text\_antialias”, “text”, “encoding”, “stroke\_linejoin”, “font\_size”,  
“path”, “clip\_units”, “skewy”, “text\_undercolor”, “rotate”,  
“fill\_color”, “stroke\_miterlimit”, “arc”, “polygon”, “color”, “stroke”,  
“affine”, “extend\_with\_included\_modules\_from”, “font\_style”, “pattern”,  
“circle”, “fill\_pattern”, “stroke\_opacity”, “polyline”, “decorate”,  
“stroke\_color”, “font\_weight”, “roundrectangle”, “enable\_warnings”,  
“fill\_opacity”, “translate”, “stroke\_width”, “stroke\_pattern”, “push”

Does anyone have an idea what might be going on? Thanks in advance for  
any help.

Rob

---

<div class="post-metadata">

**Author:** ![rlwinter](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecccb3/32.png) [@rlwinter](https://www.ruby-forum.com/u/rlwinter)\
**Post date:** [January 3, 2007, 2:00am UTC](https://www.ruby-forum.com/t/rmagick-missing-methods-on-magick-draw/81013/2 "2007-01-03T02:00:43Z")

</div>

Robert Worley wrote:

> “fill”, “opacity”, “rectangle”, “scale”, “line”, “define\_clip\_path”,  
> “fill\_opacity”, “translate”, “stroke\_width”, “stroke\_pattern”, “push”
> 
> Does anyone have an idea what might be going on? Thanks in advance for  
> any help.
> 
> Rob

All those methods are defined in RMagick.rb. If you’re getting  
NoMethodError exceptions for them, then there’s something wrong with the  
RMagick installation on your Solaris box.
