Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 Jul 2011 16:00:28 -0400
From:      Steve Wills <swills@FreeBSD.org>
To:        Stanislav Sedov <stas@FreeBSD.org>
Cc:        linimon@FreeBSD.org, Ryan Steinmetz <zi@FreeBSD.org>, wxs@FreeBSD.org, Renato Botelho <garga@FreeBSD.org>, ruby@FreeBSD.org, tabthorpe@FreeBSD.org, decke@FreeBSD.org
Subject:   Re: RFC: Replacing graphics/ruby-rmagick with graphics/rubygem-rmagick
Message-ID:  <4E35B45C.8030300@FreeBSD.org>
In-Reply-To: <20110731114103.302d0cee.stas@FreeBSD.org>
References:  <20110731023007.GA57933@fast.rit.edu> <20110731114103.302d0cee.stas@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/31/11 14:41, Stanislav Sedov wrote:
> I don't think it's a good idea.  It might looks fine from the
> rubygems camp side, but for projects not using rubygems it
> means that you wouldn't be able to do 'require rmagick' and do
> the work.  Even worse, for non-rubygems applications you will
> need to run it via `ruby -rrubygems /path/to/app` instead of
> just `app`.  As an example of this try running bluecloth from
> the rubygem-bluecloth package:
> % ruby /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth
> /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth:15:in `require': no such file to load -- bluecloth (LoadError)
>         from /usr/local/lib/ruby/gems/1.8/gems/BlueCloth-1.0.1/bin/bluecloth:15

This is true for Ruby 1.8, but not for Ruby 1.9. As you know, I'm
actively working on making 1.9 the default.

> Personally, I'm not in favor of having these two ports either, I actually
> requested the removal of rubygem- version immediately upon commit:
> http://www.mail-archive.com/cvs-all@freebsd.org/msg149854.html
> 
> Not sure why it didn't happen though.  

As far as I can tell it did get deleted.

> But since other ports now depend on
> it, we probably cannot do it anymore. :-(

I believe Ryan is working on a port of a Ruby based application which
requires that the rmagick gem (Snorby). If we can come up with a way to
get the non ruby-rmagick port to register and show up in gem list,
great, but let's do it quickly. Having the Snorby port would be a really
nice addition, IMHO. Since Ryan is willing to do the work I think we owe
it to him to provide a solution or not stand in his way.

Thanks,
Steve
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (FreeBSD)

iQEcBAEBAgAGBQJONbRcAAoJEPXPYrMgexuh5iMIAKEg/F3t8YaRxDelMySwiuuN
vfe/itXps72KuMleIIqvKuKAc5LWCcMjPf5sKL11jreF+9PBjxYjFiIpuLSfO5zf
U5v4lXq0N4RKeIsJBuwXIIvUGiU/1LaNQ7JiYaHOCnpI+vBcdjYLfF0BzhSb/MM9
5Ksh1KuoUccJ9ZHY9jxsa2F6v30Dj26s+0OZvoIHDUjL1TQwOb6j0ZvxAUubNyB/
ZbHkOSMEP72nJcUQX8Ur8+2Qf+tcBVgG5Y9MyydsWQ5uRNl4W5uxtjWJ/+vq/AZ3
eB+t3HgFR69DIgMNqnsMdcbRJtC9BLKWhXTKqJgv8Dy/XeQlAJyWSkHm0b/8szg=
=bVOw
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E35B45C.8030300>