Ramaze Daemonize

0 views
Skip to first unread message

Masahiro Nakagawa

unread,
Jun 7, 2009, 3:59:02 PM6/7/09
to ram...@googlegroups.com
Hi,

I updated Ramaze to version 2009.06.04. I created test project and ran.

% ramaze create test
% cd test
% ramaze start

When I accessed http://localhost:7000/, Ramaze rendered index page
correctly.
Next, I tried to start Ramaze as a daemon.

% ramaze start -D

At this time, Ramaze did not work and rendered only 'Welcome to Ramaze!'.
Why?

Environment:
OS : Mac OS X
Ruby : 1.9.1-p129
Gems : Ramaze-2009.06.04, Innate-2009.06, Rack-1.0.0


Thanks,

--
tama <repea...@gmail.com>
http://profile.livedoor.com/repeatedly/

Michael Fellinger

unread,
Jun 7, 2009, 8:23:33 PM6/7/09
to ram...@googlegroups.com
On Mon, 08 Jun 2009 04:59:02 +0900
"Masahiro Nakagawa" <repea...@gmail.com> wrote:

>
> Hi,
>
> I updated Ramaze to version 2009.06.04. I created test project and
> ran.
>
> % ramaze create test
> % cd test
> % ramaze start
>
> When I accessed http://localhost:7000/, Ramaze rendered index page
> correctly.
> Next, I tried to start Ramaze as a daemon.
>
> % ramaze start -D
>
> At this time, Ramaze did not work and rendered only 'Welcome to
> Ramaze!'. Why?

Hi, I fixed the problem in the repo, your config.ru should look like:
http://github.com/manveru/ramaze/tree/master/lib/proto/config.ru

> Environment:
> OS : Mac OS X
> Ruby : 1.9.1-p129
> Gems : Ramaze-2009.06.04, Innate-2009.06, Rack-1.0.0
>
>
> Thanks,

--
^ manveru

Masahiro Nakagawa

unread,
Jun 8, 2009, 3:57:03 AM6/8/09
to ram...@googlegroups.com
Hi manveru,

> Hi, I fixed the problem in the repo, your config.ru should look like:
> http://github.com/manveru/ramaze/tree/master/lib/proto/config.ru

Thanks for quick response!
Ramaze daemon works correctly :)

Reply all
Reply to author
Forward
0 new messages