From mboxrd@z Thu Jan 1 00:00:00 1970 Delivered-To: chneukirchen@gmail.com Received: by 10.140.128.1 with SMTP id a1cs220947rvd; Mon, 22 Mar 2010 09:22:17 -0700 (PDT) Received-SPF: pass (google.com: domain of 3N5mnSwkJCsMk.ljwmun0yxkx6.lxv0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com designates 10.151.32.5 as permitted sender) client-ip=10.151.32.5; Authentication-Results: mr.google.com; spf=pass (google.com: domain of 3N5mnSwkJCsMk.ljwmun0yxkx6.lxv0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com designates 10.151.32.5 as permitted sender) smtp.mail=3N5mnSwkJCsMk.ljwmun0yxkx6.lxv0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com; dkim=pass header.i=3N5mnSwkJCsMk.ljwmun0yxkx6.lxv0jlt-mn4nupxxpunp0x3y1.lxv@groups.bounces.google.com Received: from mr.google.com ([10.151.32.5]) by 10.151.32.5 with SMTP id k5mr4145921ybj.66.1269274936379 (num_hops = 1); Mon, 22 Mar 2010 09:22:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=beta; h=domainkey-signature:received:x-beenthere:received:received:received :received:received-spf:received:mime-version:received:date:x-ip :user-agent:x-http-useragent:message-id:subject:from:to :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type; bh=GCzZvZQw18Px4k7Qa+YveC760DgES46ZvDnro9iEoxE=; b=j4YjEzBDvNlGLX0wnt6eZGLZTviMxhHeZg8MwL7OEn6bDQjzMTIRdJ8dsoWWZNjsnL Bgl5ykpuWDmzQXZW6meK+xhNzpglBQeh4CeCbAhnediffJ2BdX30Mpo0RBu932m/sp2G olqgwbsMErUBb6fgQTU0I9yrz/Ri2hjvB+DG8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlegroups.com; s=beta; h=x-beenthere:received-spf:mime-version:date:x-ip:user-agent :x-http-useragent:message-id:subject:from:to :x-original-authentication-results:x-original-sender:reply-to :precedence:mailing-list:list-id:list-post:list-help:list-archive :x-thread-url:x-message-url:sender:list-subscribe:list-unsubscribe :content-type; b=YZ3t+Y90gUtNoBWeQril2fq049Sa5joxMCz7rFeZjvgigCE+Ic8abQQONubc8WX/KQ j0tWHQiybys9Fr+NPdPeiihp5DLhzcYXDr4qnK178OChYaq1v/uUd0Zm+wRwPhXzLFkm dmWOr1+qrpOWKNT/zOhdSthF/TL8GfG9RDVeA= Received: by 10.151.32.5 with SMTP id k5mr346705ybj.66.1269274935147; Mon, 22 Mar 2010 09:22:15 -0700 (PDT) X-BeenThere: rack-devel@googlegroups.com Received: by 10.101.171.33 with SMTP id y33ls1576830ano.1.p; Mon, 22 Mar 2010 09:22:14 -0700 (PDT) Received: by 10.101.153.3 with SMTP id f3mr605072ano.3.1269274933996; Mon, 22 Mar 2010 09:22:13 -0700 (PDT) Received: by 10.101.153.3 with SMTP id f3mr605071ano.3.1269274933960; Mon, 22 Mar 2010 09:22:13 -0700 (PDT) Return-Path: Received: from mail-yw0-f170.google.com (mail-yw0-f170.google.com [209.85.211.170]) by gmr-mx.google.com with ESMTP id 18si526650gxk.15.2010.03.22.09.22.13; Mon, 22 Mar 2010 09:22:13 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.211.170 is neither permitted nor denied by domain of b.candler@pobox.com) client-ip=209.85.211.170; Received: by ywh42 with SMTP id 42so2603279ywh.9 for ; Mon, 22 Mar 2010 09:22:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.171.14 with SMTP id t14mr250918ybe.89.1269274933638; Mon, 22 Mar 2010 09:22:13 -0700 (PDT) Date: Mon, 22 Mar 2010 09:22:13 -0700 (PDT) X-IP: 87.86.105.3 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/532.9 (KHTML, like Gecko) Chrome/5.0.307.11 Safari/532.9,gzip(gfe),gzip(gfe) Message-ID: <518aa0ec-4dfd-4b63-91ae-f0347b089e7e@t41g2000yqt.googlegroups.com> Subject: rackup -D breakage From: candlerb To: Rack Development X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 209.85.211.170 is neither permitted nor denied by domain of b.candler@pobox.com) smtp.mail=b.candler@pobox.com X-Original-Sender: b.candler@pobox.com Reply-To: rack-devel@googlegroups.com Precedence: list Mailing-list: list rack-devel@googlegroups.com; contact rack-devel+owners@googlegroups.com List-ID: List-Post: , List-Help: , List-Archive: X-Thread-Url: http://groups.google.com/group/rack-devel/t/d01541f822d2d3a0 X-Message-Url: http://groups.google.com/group/rack-devel/msg/ba360114ec072f66 Sender: rack-devel@googlegroups.com List-Subscribe: , List-Unsubscribe: , Content-Type: text/plain; charset=ISO-8859-1 Just wanted to report some breakage when upgrading a system from rack-1.0.1 to rack-1.1.0 It seems that rackup -D is now forcing a change directory to root. As a result: (1) rackup .....orig_params..... -D failed with no obvious error; stracing the process showed that it was failing to open config.ru So this is fixable by changing it to rackup .....orig_params..... -D /path/to/config.ru (2) But then my app failed because 'require "foo"' couldn't find library foo. So I had to change the config.ru itself to say: APP_ROOT = File.expand_path(File.dirname(__FILE__)) Dir.chdir APP_ROOT ... It's not a big issue now I know what the problem is, but I thought I'd report it anyway, as it took some head-scratching to fix. Running the app in foreground mode wasn't any help, because in that mode it was working just fine! Regards, Brian. To unsubscribe from this group, send email to rack-devel+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.