Hey Conrad,

I agree that you don't notice the issue if you use RVM. But the fact remains that the issue still exists…

So as an interim solution you can indeed use RVM or, like Laurent does, use a separate gem home, but on the long run, imo, RubyGems should be enhanced to take care of this. I, for instance, haven't been able to get RVM to work (disclaimer: I haven't spent a lot of time trying to get it to work).

Eloy

On Nov 2, 2009, at 9:26 AM, Conrad Taylor wrote:

Hi ALL, it's not too much of an issue if one is using the Ruby Version Manager (RVM) because it creates separate executable and gem directories for each Ruby implementation. I haven't used MacRuby under RVM but it seems to do an excellent job of adding the appropriate executables to the path based on the current Ruby implementation.

-Conrad

On Mon, Nov 2, 2009 at 12:06 AM, Eloy Duran <eloy.de.en...@gmail.com> wrote: I think the best solution would be if RubyGems would apply the same program prefix or suffix to the executables it installs. So in the case of MacRuby, the executable would be: /usr/bin/macspec.

I haven't had the time to look at RubyGems yet though, if anyone wants to take a stab at fixing this, by all means :)

Eloy

On 2 nov 2009, at 08:40, Matt Aimonetti wrote:

Unfortunately this is not an issue with MacRuby, you would have many issues with ruby1.9 or any other implementations.

- Matt

On Sun, Nov 1, 2009 at 10:52 PM, s.ross <cwdi...@gmail.com> wrote:
When installing the gem using macgem, a shebang line is written pointing to macruby. The "spec" binary copied into /usr/bin forever after (or until manually edited or reinstalled) contains that shebang. Until MacRuby is close to parity with MRI (say... when MRI can run Rails), this may make less difference. Now, however, the single-location binary can cause a problem.

I'm not sure what a sensible solution is to this, but thought since rSpec is getting some attention, I'd bring this up.

-s
_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel


_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to