From: David Vallner Date: 2006-11-18T10:22:14+09:00 Subject: Re: Question about -r command line option, rubygems --------------enigD7007A594786A0004ADACD3D Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Daniel Berger wrote: > Hi all, >=20 > Ruby 1.8.5 (one click) > Windows XP >=20 > I'm trying to require a gem from the command line but it's failing: >=20 >>C:\ruby -rubygems -rturn test.rb > ruby: no such file to load -- turn (LoadError) >=20 > But, I clearly have it installed: >=20 >>C:\>ruby -e "require 'turn'" > Loaded suite . > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >=20 > pass: 0, fail: 0, error: 0 > total: 0 tests with 0 assertions in 0.0 seconds > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >=20 -r probably only uses the "vanilla" semantics of require, and only interpreted code picks up the hacks^Wimprovements that rubygems makes. David Vallner --------------enigD7007A594786A0004ADACD3D Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (MingW32) iD8DBQFFXmA2y6MhrS8astoRAlmxAJ9CbuyjAMaaPVx/hbxcrE2svvx5vQCeNHqu j/Ljqci6emWeQRQRsE3dLlg= =1fr1 -----END PGP SIGNATURE----- --------------enigD7007A594786A0004ADACD3D--