daemon_generator
daemon_generator copied to clipboard
I can't generate daemons with it
with Kozy's new branch I tried to generate a daemon but failed since Rails 3 doesn't accept "script" command as below any longer. I installed it using "rails plugin install git://github.com/kozy/daemon_generator.git" and it seems fine.
Can someone plz help to generate it? Thx,
./script/generate daemon
if I do "rails generate daemon dm_listener", I get the error: "Could not find generator daemon."
Kozy's changes have now been merged with the main repository.
The following command works fine for me with 1.8.7 p249 and Rails 3.0.0.rc.
rails plugin install [email protected]:dougal/daemon_generator.git
rails g daemon bar
Could you try again and report back?
Thanks.
Hi dougal,
When I did "rails plugin install [email protected]:dougal/daemon_generator.git", I got the following:
Initialized empty Git repository in /Users/dano/ruby_projects/echotwit/vendor/plugins/daemon_generator/.git/ ERROR: Permission to dougal/daemon_generator denied to nextofsearch. fatal: The remote end hung up unexpectedly
My apologies, I inadvertently gave you my private repo URL.
Use this instead:
rails plugin install git://github.com/dougal/daemon_generator.git
Thanks dougal! It works!
But does it still work with rails 2.3.5? I can't get it to generate.
I cant get it to work with 2.3.5 any recommendations? will not generate a script.