* rackup -D silently terminates
@ 2010-02-23 3:51 Daniel Guettler
2010-02-23 23:31 ` hrvoje
0 siblings, 1 reply; 2+ messages in thread
From: Daniel Guettler @ 2010-02-23 3:51 UTC (permalink / raw)
To: Rack Development
Hi,
I tried to get an answer to this question on the IRC channel without
much success so here it is again:
Has anybody an idea why rackup -D silently terminates instead of
creating a daemon process?
rackup -D -d however successfully creates a daemon process looking
through the code I ended up with the line of code: pp app (line 138)
which made all the difference if the daemon process is created or not
same effect can be archived by calling: app.inspect
Does anybody has some insight on this?
Environment:
- ruby 1.9.1-p378
- rack 1.1.0
- OS X, Linux
Sample application:
class TestApp
def call(env)
[200, { 'Content-Type' => 'text/html' }, ['OK']]
end
end
run TestApp.new
Thanks, Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: rackup -D silently terminates
2010-02-23 3:51 rackup -D silently terminates Daniel Guettler
@ 2010-02-23 23:31 ` hrvoje
0 siblings, 0 replies; 2+ messages in thread
From: hrvoje @ 2010-02-23 23:31 UTC (permalink / raw)
To: Rack Development
I have same issue in ruby 1.8.6 (2007-09-24 patchlevel 111) [i686-
linux]
On Feb 23, 4:51 am, Daniel Guettler <daniel.guett...@gmail.com> wrote:
> Hi,
>
> I tried to get an answer to this question on the IRC channel without
> much success so here it is again:
>
> Has anybody an idea why rackup -D silently terminates instead of
> creating a daemon process?
> rackup -D -d however successfully creates a daemon process looking
> through the code I ended up with the line of code: pp app (line 138)
> which made all the difference if the daemon process is created or not
> same effect can be archived by calling: app.inspect
>
> Does anybody has some insight on this?
> Environment:
> - ruby 1.9.1-p378
> - rack 1.1.0
> - OS X, Linux
>
> Sample application:
> class TestApp
> def call(env)
> [200, { 'Content-Type' => 'text/html' }, ['OK']]
> end
> end
>
> run TestApp.new
>
> Thanks, Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-25 19:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-23 3:51 rackup -D silently terminates Daniel Guettler
2010-02-23 23:31 ` hrvoje
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).