Rubygems totalled about 75GB last time I looked but that includes all the old versions of each gem. I would like to create a local gem repository but only download the latest version of each gem. Is it possible?
gvim
Rubygems totalled about 75GB last time I looked but that includes all the old versions of each gem. I would like to create a local gem repository but only download the latest version of each gem. Is it possible?
gvim
Hi Gvim,
Are you using RVM?
If so, take a look at:
http://rvm.io/rubies/removing
http://rvm.io/gemsets/deleting
http://rvm.io/gemsets/emptying
Abinoam Jr.
On Sun, Jan 26, 2014 at 10:13 PM, gvim <gvimrc@gmail.com> wrote:
Rubygems totalled about 75GB last time I looked but that includes all the
old versions of each gem. I would like to create a local gem repository but
only download the latest version of each gem. Is it possible?gvim
Sorry for the last answer.
I think I have misunderstood your question.
Are you talking about "local repo" like in that one that runs with
"gem server" ?
Abinoam Jr.
On Mon, Jan 27, 2014 at 10:30 AM, Abinoam Jr. <abinoam@gmail.com> wrote:
Hi Gvim,
Are you using RVM?
If so, take a look at:
RVM: Ruby Version Manager - 'rvm remove' - Removing RVM instaled Rubies
RVM: Ruby Version Manager - 'rvm gemset delete' - Deleting gemsets
RVM: Ruby Version Manager - 'rvm gemset empty' - Emptying gemsetsAbinoam Jr.
On Sun, Jan 26, 2014 at 10:13 PM, gvim <gvimrc@gmail.com> wrote:
Rubygems totalled about 75GB last time I looked but that includes all the
old versions of each gem. I would like to create a local gem repository but
only download the latest version of each gem. Is it possible?gvim
I use rbenv. No, `gem server` is for viewing documentation of installed gems. I want to create a local repository of all gems so that I can install what I want when no internet connection is available. However, at 75GB, it's just not feasible but if, say, 2/3 of that 75GB is older versions then I would be interested in being able to create a local repository containing only the latest version of each gem.
gvim
On 27/01/2014 13:32, Abinoam Jr. wrote:
Sorry for the last answer.
I think I have misunderstood your question.
Are you talking about "local repo" like in that one that runs with
"gem server" ?Abinoam Jr.
On Mon, Jan 27, 2014 at 10:30 AM, Abinoam Jr. <abinoam@gmail.com> wrote:
Hi Gvim,
Are you using RVM?
If so, take a look at:
http://rvm.io/rubies/removing
RVM: Ruby Version Manager - 'rvm gemset delete' - Deleting gemsets
http://rvm.io/gemsets/emptyingAbinoam Jr.
On Sun, Jan 26, 2014 at 10:13 PM, gvim <gvimrc@gmail.com> wrote:
Rubygems totalled about 75GB last time I looked but that includes all the
old versions of each gem. I would like to create a local gem repository but
only download the latest version of each gem. Is it possible?gvim
While rubygems-mirror might look promising, it looks like it mirrors the
entire gem repo. I think it might be simpler (sorta?) to build your own
using Gem-in-a-box. Looking at
Run your own gem server - RubyGems Guides , I think it would be
possible to rig up a script that snagged the newest version off rubygems
and stuffed it into your local gem server, no?
By the way, running `gem server` does more than serve up documentation. It
will serve gems as well, which you can put into a Gemfile using the source
statement, or add to sources in the gem command.
On Mon, Jan 27, 2014 at 9:23 AM, gvim <gvimrc@gmail.com> wrote:
I use rbenv. No, `gem server` is for viewing documentation of installed
gems. I want to create a local repository of all gems so that I can install
what I want when no internet connection is available. However, at 75GB,
it's just not feasible but if, say, 2/3 of that 75GB is older versions then
I would be interested in being able to create a local repository containing
only the latest version of each gem.gvim
On 27/01/2014 13:32, Abinoam Jr. wrote:
Sorry for the last answer.
I think I have misunderstood your question.
Are you talking about "local repo" like in that one that runs with
"gem server" ?Abinoam Jr.
On Mon, Jan 27, 2014 at 10:30 AM, Abinoam Jr. <abinoam@gmail.com> wrote:
Hi Gvim,
Are you using RVM?
If so, take a look at:
RVM: Ruby Version Manager - 'rvm remove' - Removing RVM instaled Rubies
RVM: Ruby Version Manager - 'rvm gemset delete' - Deleting gemsets
RVM: Ruby Version Manager - 'rvm gemset empty' - Emptying gemsetsAbinoam Jr.
On Sun, Jan 26, 2014 at 10:13 PM, gvim <gvimrc@gmail.com> wrote:
Rubygems totalled about 75GB last time I looked but that includes all
the
old versions of each gem. I would like to create a local gem repository
but
only download the latest version of each gem. Is it possible?gvim