login generator error, any login generate sure for ROR 2.0.2

hi, all: after upgrade to ROR 2.0.2, the login_generator gem can not generate login, the error message is No such file or directory - C:/ruby/lib/ruby/gems/1.8/gems/rails-2.0.2/ lib/rails_generator/generators/components/scaffold/templates/ layout.rhtml

Does anybody have idea to slove this problem, or any suggest about new ACL system that suit for ROR 2.0.2 Thanks Arch

Hi

The ROR 2.0.2 templates have now the .html.erb extension (the .rhtml is the old one). In order to solve your problem you have two solutions:

a) modify the generator script directly on your gem directory (not recommended)

or

b) copy your generator into your home folder ~/.rails/generators/ and then modify the generator script

Bye

Franco Sellitto wrote:

Hi

The ROR 2.0.2 templates have now the .html.erb extension (the .rhtml is the old one). In order to solve your problem you have two solutions:

a) modify the generator script directly on your gem directory (not recommended)

or

b) copy your generator into your home folder ~/.rails/generators/ and then modify the generator script

Bye

Hi It is working after changing the same in login_generator