Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

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
Open

I can't generate daemons with it #1

nextofsearch opened this issue Aug 11, 2010 · 6 comments

Comments

@nextofsearch
Copy link

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

@dougal
Copy link
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 [email protected]:dougal/daemon_generator.git
rails g daemon bar

Could you try again and report back?

Thanks.

@nextofsearch
Copy link
Author

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

@dougal
Copy link
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

@nextofsearch
Copy link
Author

Thanks dougal! It works!

@philsmy
Copy link

philsmy commented Feb 7, 2011

But does it still work with rails 2.3.5? I can't get it to generate.

@RandFanatic
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants