<div>Shoot. I didn&#39;t see this mail before I sent out the other mail I sent out.<br></div><div><br></div><div>On a side note related to this, I have packaged both ruby-build and rbenv for fedora, and are available here[1] and here[2].</div>
<div><br></div><div>The former is still waiting for approval from the fedora system, while the latter I need to open a review request for</div><div><br></div><div>[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=735672">https://bugzilla.redhat.com/show_bug.cgi?id=735672</a></div>
<div>[2] <a href="http://tejas.fedorapeople.org/rbenv/rbenv.spec">http://tejas.fedorapeople.org/rbenv/rbenv.spec</a></div><br><div class="gmail_quote">On Fri, Sep 23, 2011 at 1:26 PM, Emanuel Rietveld <span dir="ltr">&lt;<a href="mailto:codehotter@gmail.com">codehotter@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div><div class="h5">On 09/22/2011 07:52 PM, Hugh Brock wrote:<br>
&gt; On Thu, Sep 22, 2011 at 01:37:33PM -0400, Darryl L. Pierce wrote:<br>
&gt;&gt; On Wed, Sep 21, 2011 at 03:02:10PM -0400, Mo Morsi wrote:<br>
&gt;&gt;&gt;&gt; This is a small part of what I mention above. One of the things we<br>
&gt;&gt;&gt;&gt; discussed was a complete separation of things like specific versions of<br>
&gt;&gt;&gt;&gt; Rails (and other gems) from version of Fedora. IOW, why should F14 be<br>
&gt;&gt;&gt;&gt; Rails 3.1? Why not let us run Fedora 17 with whatever version of Rails<br>
&gt;&gt;&gt;&gt; we choose?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; Not sure if I&#39;m following, you can always gem install any version of any<br>
&gt;&gt;&gt; gem you choose. We are talking about the single supported stack in Fedora.<br>
&gt;&gt; I&#39;m talking about completely separating Ruby gems from Fedora. So, for<br>
&gt;&gt; example, installing Fedora XX won&#39;t require rubygem-rails yy.xx.<br>
&gt;&gt; Insteadl, _all_ Ruby gems would be kept in a separate, optional yum<br>
&gt;&gt; repository. Then you could maintain the gems separately.<br>
&gt;&gt;<br>
&gt;&gt; So if you&#39;re app requires Rails 2.3.11 and farkle 3.1, even though those<br>
&gt;&gt; aren&#39;t the latest, then you could install them without having to hunt<br>
&gt;&gt; down, grab and install the RPMs (and then do the same for all<br>
&gt;&gt; dependencies) manually. The one repositoryw ould have 2.3.8, 2.3.11,<br>
&gt;&gt; 3.0.0, 3.1.0, etc. and all dependent versions available.<br>
&gt; This is probably going to give fedora packagers massive heartburn, but<br>
&gt; I think Darryl is on the right track here.<br>
&gt;<br>
&gt; To really make this work you also need a way to install multiple<br>
&gt; stacks of gems on the same machine. So I need for example to be able<br>
&gt; to have two different Rails apps installed, each of which may depend<br>
&gt; on different and conflicting package sets, and have everything work<br>
&gt; and be happy. As horrible as this is from a support standpoint, it is<br>
&gt; the way the Ruby world works, and trying to get away from it is<br>
&gt; swimming upstream...<br>
&gt;<br>
&gt; /me ducks large rocks<br>
&gt;<br>
&gt; --Hugh<br>
&gt;<br>
<br>
</div></div>Perhaps we can make something like rvm (or the more recent rbenv - which<br>
does seem simpler and more robust) central to the Fedora ruby strategy.<br>
They allow you to install multiple ruby versions with multiple gem<br>
stacks concurrently, and decide on a per-application basis what ruby<br>
stack to use. It would be good it if it was easy for Fedora users to<br>
install rvm/rbenv and multiple versions of ruby and rails via rpm and<br>
have it all work out of the box.<br>
<br>
On the other hand, it may be worth going to great lengths to ensure we<br>
have a single well-supported stack in that works with all the ruby<br>
applications we package for Fedora. Perhaps we need to make one official<br>
Fedora-supported stack and meanwhile make it as easy as possible to<br>
install additional ruby versions + gemstacks concurrently, say, from<br>
third party repos.<br>
<div><div class="h5">_______________________________________________<br>
ruby-sig mailing list<br>
<a href="mailto:ruby-sig@lists.fedoraproject.org">ruby-sig@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/ruby-sig" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/ruby-sig</a><br>
</div></div></blockquote></div><br>