Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Having Rails 2.3pre or Rack 1.1 installed breaks Rails 2.x

X-BeenThere: rubyonrails-core@googlegroups.com
Received: by 10.224.92.132 with SMTP id r4ls1337652qam.1.p; Mon, 22 Feb 2010 
	02:25:34 -0800 (PST)
Received: by 10.224.0.215 with SMTP id 23mr1586060qac.12.1266834333774;
        Mon, 22 Feb 2010 02:25:33 -0800 (PST)
Received: by 10.224.0.215 with SMTP id 23mr1586059qac.12.1266834333735;
        Mon, 22 Feb 2010 02:25:33 -0800 (PST)
Return-Path: <wyc...@gmail.com>
Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.27])
        by gmr-mx.google.com with ESMTP id 24si487298qyk.2.2010.02.22.02.25.32;
        Mon, 22 Feb 2010 02:25:32 -0800 (PST)
Received-SPF: pass (google.com: domain of wyc...@gmail.com designates 74.125.92.27 as permitted sender) client-ip=74.125.92.27;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of wyc...@gmail.com designates 74.125.92.27 as permitted sender) smtp.mail=wyc...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by qw-out-2122.google.com with SMTP id 9so353266qwb.27
        for <rubyonrails-core@googlegroups.com>; Mon, 22 Feb 2010 02:25:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:mime-version:received:in-reply-to:references
         :from:date:message-id:subject:to:content-type;
        bh=SDHwjOfCEkcgcA4iYwTrBADrPUp7iLEC2GWUHTy5xlA=;
        b=svO61KpiLCt9xVNGvXIaka2NUTm2+Z4Qu8JqiumAm5udgY2we7IBqOCPc8uFrITd6E
         idUqhuAcBorAZ1GlHZxx1ckue7sdEQqbafOy0f6hKG3e1bgHDKFpltoluLiXIzCoiiQa
         cxS7Y6xxYHsbVZg2miXmYxCLjtKj+z2/MAtb0=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        b=H5xWm8TOdLoM/FMfmZBoFSAzFDExITa88/Egu7z1/TmpY/G4FmwRJkQEFKztvb+Cbw
         8+9rD7kE+aRsl+9UUjtdXad1yD62+gLOOYDmeGmBJGsN72O1nMTkvT/bgkrxyj8qiGmK
         8pkzqy/TwRSKgMaA3f9zTb9ha7/G6bPEvN3ow=
MIME-Version: 1.0
Received: by 10.224.114.17 with SMTP id c17mr6487607qaq.7.1266834332390; Mon, 
	22 Feb 2010 02:25:32 -0800 (PST)
In-Reply-To: <71996df7-9d3a-4d9b-a7a6-8642cb0da...@q16g2000yqq.googlegroups.com>
References: <71996df7-9d3a-4d9b-a7a6-8642cb0da...@q16g2000yqq.googlegroups.com>
From: Yehuda Katz <wyc...@gmail.com>
Date: Mon, 22 Feb 2010 02:25:12 -0800
Message-ID: <245fb4701002220225t1e5a92f7v716343379ef89...@mail.gmail.com>
Subject: Re: [Rails-core] Having Rails 2.3pre or Rack 1.1 installed breaks 
	Rails 2.x
To: rubyonrails-core@googlegroups.com
Content-Type: multipart/alternative; boundary=000feae85b525f15b304802dda6f

--000feae85b525f15b304802dda6f
Content-Type: text/plain; charset=ISO-8859-1

Hongli,

This is a classic problem of the sort Bundler was created to solve. The only
possible solutions are to either ensure that these versions of the gems do
not coexist in a system gems repo or to use a tool like bundler to
pre-resolve the list of needed dependencies.

Simply changing the 2.3 dependency to >= 1.0.0 is a problem because Rails
could potentially break if a new (incompatible) version of Rack is released.
The entire purpose of the ~> dependency is to say "I know for sure I work on
Rack 1.0.x, but not some future version".

Yehuda Katz
Developer | Engine Yard
(ph) 718.877.1325


On Mon, Feb 22, 2010 at 1:44 AM, Hongli Lai <hon...@phusion.nl> wrote:

> Hi guys, can I call attention for this ticket? I think it's pretty
> severe.
>
> https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4031-having-rails-23pre-or-rack-11-installed-breaks-rails-2x
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Core" group.
> To post to this group, send email to rubyonrails-core@googlegroups.com.
> To unsubscribe from this group, send email to
> rubyonrails-core+unsubscribe@googlegroups.com<rubyonrails-core%2Bunsubscribe@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-core?hl=en.
>
>

--000feae85b525f15b304802dda6f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hongli,<div><br></div><div>This is a classic problem of the sort Bundler wa=
s created to solve. The only possible solutions are to either ensure that t=
hese versions of the gems do not coexist in a system gems repo or to use a =
tool like bundler to pre-resolve the list of needed dependencies.</div>

<div><br></div><div>Simply changing the 2.3 dependency to &gt;=3D 1.0.0 is =
a problem because Rails could potentially break if a new (incompatible) ver=
sion of Rack is released. The entire purpose of the ~&gt; dependency is to =
say &quot;I know for sure I work on Rack 1.0.x, but not some future version=
&quot;.</div>

<div><br><div>Yehuda Katz<br>Developer | Engine Yard<br>(ph) 718.877.1325<b=
r>
<br><br><div class=3D"gmail_quote">On Mon, Feb 22, 2010 at 1:44 AM, Hongli =
Lai <span dir=3D"ltr">&lt;<a href=3D"mailto:hon...@phusion.nl">hongli@phusi=
on.nl</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"m=
argin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Hi guys, can I call attention for this ticket? I think it&#39;s pretty<br>
severe.<br>
<a href=3D"https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tick=
ets/4031-having-rails-23pre-or-rack-11-installed-breaks-rails-2x" target=3D=
"_blank">https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/ticket=
s/4031-having-rails-23pre-or-rack-11-installed-breaks-rails-2x</a><br>


<font color=3D"#888888"><br>
--<br>
You received this message because you are subscribed to the Google Groups &=
quot;Ruby on Rails: Core&quot; group.<br>
To post to this group, send email to <a href=3D"mailto:rubyonrails-core@goo=
glegroups.com">rubyonrails-core@googlegroups.com</a>.<br>
To unsubscribe from this group, send email to <a href=3D"mailto:rubyonrails=
-core%2Bunsubscribe@googlegroups.com">rubyonrails-core+unsubscribe@googlegr=
oups.com</a>.<br>
For more options, visit this group at <a href=3D"http://groups.google.com/g=
roup/rubyonrails-core?hl=3Den" target=3D"_blank">http://groups.google.com/g=
roup/rubyonrails-core?hl=3Den</a>.<br>
<br>
</font></blockquote></div><br></div></div>

--000feae85b525f15b304802dda6f--