[MacRuby-devel] Problem with MacGem install

Matt Aimonetti mattaimonetti at gmail.com
Mon May 25 11:59:08 PDT 2009


There is problem with macgem not installing gems properly. You can try to
unpack your gem and require it manually (recommended since you don't want to
force your users to install gems).

However ruby-opengl uses C extensions which will probably not be MacRuby 0.4
compatible. The good news tho, is that you can do all your opengl stuff
using the cocoa API :)

- Matt

On Mon, May 25, 2009 at 10:23 AM, Jonathan Waddilove <jonathan at waddilove.net
> wrote:

> Hi, I'm just starting to use MacRuby and I would like to be able to use
> OpenGL.  So far I have been unable to install the GEM.
>
> I have just checked out the current MacRuby trunk (Mon 25 May) and after
> building it I get the following error:
>
> sudo macgem install ruby-opengl
>  Password:
>  macruby(37134,0x1037a5000) malloc: free_garbage: garbage ptr =
> 0x800031ca0, has non-zero refcount = 1
>  ERROR:  While executing gem ... (RangeError)
>    bignum too big to convert into `unsigned long long'
>
> Umm, is there a problem with the MacGem tool in the current drop or have I
> made a silly user error.
>
> Many thanks, Jonathan
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20090525/4eac4c05/attachment.html>


More information about the MacRuby-devel mailing list