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 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Franco Sellitto
2008-Feb-29 00:08 UTC
Re: login generator error, any login generate sure for ROR 2.0.2
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 -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Sukumaran Ammangod
2010-Jan-03 19:15 UTC
Re: login generator error, any login generate sure for ROR 2.0.2
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 > > ByeHi It is working after changing the same in login_generator -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.