[MacRuby-devel] problem using gems with MacRuby 0.12

Watson watson1978 at gmail.com
Tue Jun 12 06:52:36 PDT 2012


Hi,


MacRuby does not load `rubygems' automatically.
So, you need 'require "rubygems"' before loading gem which you want.

Please refer to http://macruby.macosforge.org/trac/ticket/855


Thanks


2012/6/12 Jean-Denis MUYS <jdmuys at kleegroup.com>:
> Hi again,
>
> It seems there is some issue with MacRuby installing gems, as they don't seem to be made available to macirb:
>
>    sudo macgem install --remote progressbar
>
> succeeds.
>
>    macgem list --local
>
> mentions progressbar just fine
>
>    macirb
>    irb(main):001:0> require 'progressbar'
>    LoadError: no such file to load -- progressbar
>
> The same try using the regular gem and irb works fine. I really don't know what to do here. Any help welcome.
>
> Jean-Denis
>
>
>
> [Logo Kleegroup]
> Klee Group is a great place to work – Il fait bon travailler à Klee Group
> _______________________________________________
> 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