Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

I can't generate daemons with it #1

Open
nextofsearch opened this Issue Aug 11, 2010 · 6 comments

Comments

Projects
None yet
4 participants

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."

Owner

dougal commented Aug 11, 2010

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 git@github.com:dougal/daemon_generator.git
rails g daemon bar

Could you try again and report back?

Thanks.

Hi dougal,

When I did "rails plugin install git@github.com: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

Owner

dougal commented Aug 12, 2010

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!

philsmy commented Feb 7, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment