On Tue, Feb 23, 2010 at 05:23:08PM -0500, Jason Guiditta wrote:
> On Tue, Feb 23, 2010 at 5:17 PM, Jeroen van Meeuwen <
kanarip@kanarip.com>wrote:
>
> >
> > On Tue, 23 Feb 2010 16:47:33 -0500, Jason Guiditta
> > <
jason.guiditta@gmail.com> wrote:
> > > I am running Fedora 12 with Rails 2.3.4 installed. Everything was
> > working
> > > fine, then last night I got an update from yum for Rack 1.1. After
> > > installing that, my working rails apps failed to load. Creating a new
> > test
> > > app yielded:
> > > /usr/lib/ruby/site_ruby/1.8/rubygems.rb:827:in `report_activate_error':
> > > RubyGem version error: rack(1.1.0 not ~> 1.0.0) (Gem::LoadError)
> > >
> > > Has anyone else hit this issue? If more detail is needed, let me know.
> > > Thanks,
> > >
> >
> > I've seen this issue occur once or twice, but I'm not all too well versed
> > in Ruby... is ~> even a valid comparison and if so, what does it imply
> > exactly? I'm afraid this should have been '=>', which would require a patch
> > on the rails stack.
> >
> > -- Jeroen
> >
> >
> Good call, '=~' is valid, but '~>' does not appear to be, according to the
> list here:
>
http://www.ruby-doc.org/docs/ProgrammingRuby/language.html#table_18.4