unicorn Ruby/Rack server user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: unicorn list <mongrel-unicorn@rubyforge.org>
Subject: Re: rack 1.2 version causing misleading error msg
Date: Mon, 28 Feb 2011 12:51:03 -0800	[thread overview]
Message-ID: <20110228205103.GA23024@dcvr.yhbt.net> (raw)
In-Reply-To: <1290555396.24870.10.camel@sparky>

Don Park <don.park@gmail.com> wrote:

  Received: from rubyforge.org (rubyforge.org [127.0.0.1])
    by rubyforge.org (Postfix) with ESMTP id 79A9E1858112;
    Mon, 28 Feb 2011 12:12:48 -0500 (EST)
  Received: from mail-fx0-f50.google.com (mail-fx0-f50.google.com
    [209.85.161.50])
    by rubyforge.org (Postfix) with ESMTP id ADC541858112
    for <mongrel-unicorn@rubyforge.org>;
    Mon, 28 Feb 2011 11:23:10 -0500 (EST)
  Received: by fxm18 with SMTP id 18so4518682fxm.23
    for <mongrel-unicorn@rubyforge.org>;
    Mon, 28 Feb 2011 08:23:09 -0800 (PST)
  Received: by 10.223.114.203 with SMTP id f11mr509500faq.20.1298910133851;
    Mon, 28 Feb 2011 08:22:13 -0800 (PST)
  Received: from [10.0.1.104] (173-8-218-204-Oregon.hfc.comcastbusiness.net
    [173.8.218.204])
    by mx.google.com with ESMTPS id 21sm1637322fav.41.2011.02.28.08.22.11
    (version=SSLv3 cipher=OTHER); Mon, 28 Feb 2011 08:22:12 -0800 (PST)
  Date: Tue, 23 Nov 2010 15:36:36 -0800

Btw, something with your local mail queue is off, and it's not
Rubyforge's (nor Google's fault).

> The problem: (note this is the only ruby on the system and rvm/bundler
> is not being used)
> 
> $ gem list rails
> 
> *** LOCAL GEMS ***
> rails (2.3.10, 2.3.8, 2.3.5)
> 
> $ unicorn_rails
> Missing the Rails 2.3.10 gem. Please `gem install -v=2.3.10 rails`,
> update your RAILS_GEM_VERSION setting in config/environment.rb for the
> Rails version you do have installed, or comment out RAILS_GEM_VERSION to
> use the latest version installed.
> 
> After much experimentation, the problem is the existence of rack 1.2.1
> 
> $ sudo gem uninstall rack
> 
> Select gem to uninstall:
>  1. rack-1.1.0
>  2. rack-1.2.1
>  3. All versions
> > 2
> 
> donp@donpdonp:~/everyonedelivers$ unicorn_rails

<snip> yup, all is good when only one version of Rack is installed.

This should be fixed in RubyGems 1.6:
  http://blog.segment7.net/2011/02/19/rubygems-gem-activation-is-changing

I'm sure the RubyGems testers would appreciate all the testing/feedback
they can get with this since it's been a problem for a while (though
things like bundler/isolate do a great deal to mitigate the issue).

-- 
Eric Wong
_______________________________________________
Unicorn mailing list - mongrel-unicorn@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying


      reply	other threads:[~2011-02-28 21:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-23 23:36 rack 1.2 version causing misleading error msg Don Park
2011-02-28 20:51 ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://yhbt.net/unicorn/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110228205103.GA23024@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=mongrel-unicorn@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhbt.net/unicorn.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).