Prashant Srinivasan wrote:
>
> 3-> Provide pre-installed gems with with the Ruby package(wont scale 
> with time).

Right, don't do that.


Matt Ingenthron wrote:
> 
> I'd have a concern with #4.  We've heard the opinion expressed multiple 
> times that in emerging markets, like parts of China and India, not 
> including something with the OS distribution can be a major barrier to 
> adoption.  We may be able to ignore this 'for now', but can't really 
> leave it alone very long.  There are

It's not just emerging markets. For instance, secure sites may well be
disconnected from the external network. Even while connected, they may
insist on installation from physical media.  Being able to install
everything from DVDs is vital, even if post-Indiana it may be a niche.


Prashant Srinivasan wrote:
>
>  On Matt's suggestion of bundling gems, and a packaging script - I'm 

Can you expand on the details of "and a packaging script"?

> open to trying that out, if that would get us past ARC and into Nevada.  

Don't worry about ARC, just about setting up the right building blocks
while delivering ruby & rails, so that future additions will be easier.



I'm summarizing from the thread (with a few additions):

- Ruby users (and tutorials, books, etc) often assume installation via
gem, so we definitely do want this to work in Solaris, whether it's
the only way or not.

- AIUI default gem installs somewhere under /usr - that won't work due
to read-only filesystems, zones.

- Debian seems to have modified gem to write under /var to solve that
particular problem.

- Debian also has packages with various gems (e.g. rails) so they
support both approaches.

- It is also vital to support offline installs. 

- OTOH gem already does since it can read local *.gem files.

- Ignoring location problems, does "gem install -r foo" work today for
all/nearly all gems on Solaris?  (If no, that largely forces your hand
into delivering packaged gems, modified to work. But hopefully answer
is yes.)

- Are gems invalidated by any ruby update? If a system has SUNWruby +
set of gem-installed code and they run update SUNWruby (say, via indiana
repository), what happens to all the (non-pkg-aware) gem code?


-- 
Jyri J. Virkki - jyri.virkki at sun.com - Sun Microsystems

Reply via email to