Mail library in ruby

Perhaps a solution with a local gem server running from a USB pen drive?
Would this be possible?

How huge (size) is all gems from rubygem?
How huge would be a (local) server with only the most common gems?

Abinoam Jr.

···

On Wed, Dec 10, 2014 at 11:58 AM, Ammar Ali <ammarabuali@gmail.com> wrote:

On Dec 10, 2014, at 4:46 PM, Bryce Kerley <bkerley@brycekerley.net> wrote:

On Dec 10, 2014, at 09:27, Lázaro Armando <lazaro@hcg.sld.cu> wrote:

The brisk version is building and installing ruby, install whichever gems you need, and compressing and sharing the Ruby directory tree.

Some gems require compilation and can not be simply "shared" across systems, unless the systems have the same ABI and architecture. Even then, if the gems depend on external libraries, different versions of those libraries could cause strange and hard to debug problems, if they work at all.

Regards,
Ammar

yeah, that is my solution right now, I have a Rakefile that create a
repo and serve it....

Thread name: "Re: mail library in ruby"
Mail number: 21
In reply to: Abinoam Jr.

···

Date: Wed, Dec 10, 2014

Perhaps a solution with a local gem server running from a USB pen drive?
Would this be possible?

Run your own gem server - RubyGems Guides

How huge (size) is all gems from rubygem?
How huge would be a (local) server with only the most common gems?

Abinoam Jr.

On Wed, Dec 10, 2014 at 11:58 AM, Ammar Ali <ammarabuali@gmail.com> wrote:
>
>> On Dec 10, 2014, at 4:46 PM, Bryce Kerley <bkerley@brycekerley.net> wrote:
>>
>> On Dec 10, 2014, at 09:27, Lázaro Armando <lazaro@hcg.sld.cu> wrote:
>>
>> The brisk version is building and installing ruby, install whichever gems you need, and compressing and sharing the Ruby directory tree.
>
> Some gems require compilation and can not be simply "shared" across systems, unless the systems have the same ABI and architecture. Even then, if the gems depend on external libraries, different versions of those libraries could cause strange and hard to debug problems, if they work at all.
>
> Regards,
> Ammar
>

YES!!!! this is why wee need Traveling Ruby: self-contained, portable Ruby binaries

Thread name: "Re: mail library in ruby"
Mail number: 22
In reply to: Lázaro Armando

···

Date: Wed, Dec 10, 2014

yeah, that is my solution right now, I have a Rakefile that create a
repo and serve it....

Thread name: "Re: mail library in ruby"
Mail number: 21
Date: Wed, Dec 10, 2014
In reply to: Abinoam Jr.
>
> Perhaps a solution with a local gem server running from a USB pen drive?
> Would this be possible?
>
> Run your own gem server - RubyGems Guides
>
> How huge (size) is all gems from rubygem?
> How huge would be a (local) server with only the most common gems?
>
> Abinoam Jr.
>
> On Wed, Dec 10, 2014 at 11:58 AM, Ammar Ali <ammarabuali@gmail.com> wrote:
> >
> >> On Dec 10, 2014, at 4:46 PM, Bryce Kerley <bkerley@brycekerley.net> wrote:
> >>
> >> On Dec 10, 2014, at 09:27, Lázaro Armando <lazaro@hcg.sld.cu> wrote:
> >>
> >> The brisk version is building and installing ruby, install whichever gems you need, and compressing and sharing the Ruby directory tree.
> >
> > Some gems require compilation and can not be simply "shared" across systems, unless the systems have the same ABI and architecture. Even then, if the gems depend on external libraries, different versions of those libraries could cause strange and hard to debug problems, if they work at all.
> >
> > Regards,
> > Ammar
> >