--k1lZvvs/B4yU6o8G
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jul 04, 2011 at 04:19:42AM +0900, Thomas Sawyer wrote:

[snip]

> How is Ruby confusing the two? Can it be fixed? Or is there at least a wo=
rk around?

I'm not sure about the code you presented above, but you should be able
to ensure your gem is consulted before stdlib by doing "gem 'whatever'".

Possibly you could just do:

  gem 'wedge'
  require 'abbrev'

Though, I would just avoid conflicting filenames.  Maybe have a
'wedge/abbrev'.

--=20
Aaron Patterson
http://tenderlovemaking.com/

--k1lZvvs/B4yU6o8G
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBAgAGBQJOE3pEAAoJEJUxcLy0/6/GrpMH/RvqtBFKeBAm11i15nCR3CPy
XPOiYQ8JR+HJSLUVqQdcF+1+wx/Zq1HgjPnGoO0zQ0dKnDsDv12qxDrz36Smp6bU
voh3t4QrRf7BvxJl92BMuE38HBNt295A0rrEgTRcERNSN6kKlz6BuEMH1HzBLSqC
1nkRPKOzZJXgSMefBzX5myMGpsdrdRk/VH5C6Ol1kE3AjgDtnXItfR8ngqIn2Q/w
YpIW2pHbJpjZaGLqASjXcxYYpKeY7ZYz/sbDqzWpAJPUVgbRkDCrlCk7kf/9Kmmg
ErFfMXWd/mAQqATYWJe6A/pUzMInUXbCmpreHRSZYdBK7XXF3E2XrVZIV5J8x/o=
=YDbt
-----END PGP SIGNATURE-----

--k1lZvvs/B4yU6o8G--

On Mon, Jul 04, 2011 at 04:19:42AM +0900, Thomas Sawyer wrote:

[snip]

> How is Ruby confusing the two? Can it be fixed? Or is there at least a wo=
rk around?

I'm not sure about the code you presented above, but you should be able
to ensure your gem is consulted before stdlib by doing "gem 'whatever'".

Possibly you could just do:

  gem 'wedge'
  require 'abbrev'

Though, I would just avoid conflicting filenames.  Maybe have a
'wedge/abbrev'.

--=20
Aaron Patterson
http://tenderlovemaking.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)

iQEcBAEBAgAGBQJOE3pEAAoJEJUxcLy0/6/GrpMH/RvqtBFKeBAm11i15nCR3CPy
XPOiYQ8JR+HJSLUVqQdcF+1+wx/Zq1HgjPnGoO0zQ0dKnDsDv12qxDrz36Smp6bU
voh3t4QrRf7BvxJl92BMuE38HBNt295A0rrEgTRcERNSN6kKlz6BuEMH1HzBLSqC
1nkRPKOzZJXgSMefBzX5myMGpsdrdRk/VH5C6Ol1kE3AjgDtnXItfR8ngqIn2Q/w
YpIW2pHbJpjZaGLqASjXcxYYpKeY7ZYz/sbDqzWpAJPUVgbRkDCrlCk7kf/9Kmmg
ErFfMXWd/mAQqATYWJe6A/pUzMInUXbCmpreHRSZYdBK7XXF3E2XrVZIV5J8x/o=
=YDbt
-----END PGP SIGNATURE-----