[MacRuby-devel] macruby + gems

Steve Clarke steve at sclarkes.me.uk
Tue Sep 20 02:32:44 PDT 2011


Hi Michael,

I've encountered a few gems that use this encoding - prawn to name but one.  All I do is edit the gem source to remove references to all the encodings I don't need - which is most!

I don't know if it's possible to add the additional encoding to macruby?

Steve

On 20 Sep 2011, at 10:04, Michael Baldry wrote:

> Hi guys,
> 
> I'm attempting to use the mysql2 gem with mac ruby.
> 
> I do a "macruby install mysql2" then copy the gem directory to my
> vendor directory.
> 
> when I require vendor/mysql2 I get this error:
> 
> `<main>': uninitialized constant Encoding::Windows_1250 (NameError)
> 
> 
> Am I doing something wrong?
> 
> Thank you very much!
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list