Distributing Rails 3 apps

Tyler Smart tsmart at redhat.com
Fri Aug 5 17:19:24 UTC 2011


Just to be clear:

We are talking about 
1) coming up with a solution (possibly multiple)
2) Proposing this to whomever listens at Fedora

I am new to the Fedora landscape so please be patient with me.

========= 
Tyler Smart 
Check out the IT.rb group: 
https://docspace.corp.redhat.com/groups/itrb 

----- Original Message -----
From: "Darryl L. Pierce" <dpierce at redhat.com>
To: "Ruby SIG mailing list" <ruby-sig at lists.fedoraproject.org>
Sent: Friday, August 5, 2011 1:13:12 PM
Subject: Re: Distributing Rails 3 apps

On Fri, Aug 05, 2011 at 05:12:23PM +0200, Vít Ondruch wrote:
> >Does RPM properly handle updates to either one; i.e., 2.3.11-5 is
> >installed and release 2.3.11-6 is made available? Or would RPM treat
> >that as a third version of the RPM and install it?
> 
> Once you install two versions, you cannot relay o RPM updates
> anymore and they have to be solved by some external utility.

Okay, so that's a hurdle to overcome.

It seems the best example (the kernel package) closely matches what we
want to be able to do. Yum will install a newer version without removing
a previous version (up to a set number IIANM).

> >And, assuming we leveraged this, how does it handle common files
> >between packages, such as /usr/bin/rails binary? I would think we could
> >solve that by using an alternatives-type of solution, at least for
> >binaries.
> 
> I just tried it today and if the files are the same, it just works
> (the files are the same as long as they are generated by the same
> version of RubyGems). However I did not try to install two files
> with different content ...

Yeah, I'm going to bet that there will be changes that will cause
problems. So what we'd want then is something like alternatives for
things like the rails binary and similar.

So next question is, how do you go about proposing a solution if/when
one is defined?

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/


_______________________________________________
ruby-sig mailing list
ruby-sig at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/ruby-sig


More information about the ruby-sig mailing list