From: "AR (aka AleiPhoenix)" Date: 2013-07-15T14:49:18+09:00 Subject: Re: Why the need for multiple $GEM_PATHS --089e012299bac5df7604e1866bd7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jul 13, 2013 at 2:49 PM, Luke Hamilton wrote= : > Hi all, > > Can some tell me why we need a $GEM_PATH location per ruby versions when > using tools like RVM & rbenv? > > I would like to switch between rubies without always need to download the > gem's a second time as I am currently working off a very poor internet > connection. > > Thanks! > Luke Hamilton > > =E2=80=9CWhen I let go of what I am, I become what I might be.=E2=80=9D = =E2=80=93 *Lao Tzu* > Different ruby enviroments (called gemset) should have gems installed separately. What if I uninstall a specific gem version across all ruby versions? Besides that, some gem has native extension which compiled according to target ruby version. If you don't like the rubygems / bundler to download the same gem file over and over again, you could try something like gem server (like this[1]) or cache them locally. [1]: https://github.com/YorickPeterse/gem-mirror --=20 Silence is golden. twitter: @AccelReality wikipedia: AleiPhoenix blog: weblog.areverie.org wiki: wiki.areverie.org --089e012299bac5df7604e1866bd7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sat, Jul 13, 2013 at 2:49 PM, Luke Hamilton <luke= @lukehamilton.me> wrote:
Hi all,

Can some tell me why = we need a $GEM_PATH location per ruby versions when using tools like RVM &a= mp; rbenv?

I would like to switch between rubies without always need to download the gem's a second time as I am currently working off a very poor internet= =20 connection.

Thanks!
Luke Hamilton=

=E2=80=9CWhen I let go of what I am, I become what I might be.= =E2=80=9D =E2=80=93=C2=A0Lao Tzu

Different ruby enviroments (called gemset) should ha= ve gems installed separately. What if I uninstall a specific gem version ac= ross all ruby versions?

Besides that, some gem has native extension which compiled according to tar= get ruby version.


If you don't like the = rubygems / bundler to download the same gem file over and over again, you c= ould try something like gem server (like this[1]) or cache them locally.

[1]:=C2=A0<= a href=3D"https://github.com/YorickPeterse/gem-mirror">https://github.com/Y= orickPeterse/gem-mirror

--
Silence is golden.

twitter: @AccelReality
wikipedia: AleiPhoenix
blog: weblog.areverie.org
wiki= : wiki.areverie.org<= /a>

--089e012299bac5df7604e1866bd7--