Hola, soy nuevo en RoR y tengo un problema con action mailer cuando uso el rubygem el gestor de paquetes y pongo: gem list --local me sale: actionmailer <1.2.5> lo cual indica que lo tengo instalado, el proble a es el siguiente he configurado el fichero environment.rb para poder trabajar con actionmailer , he creado el formulario y casi todo lo que necesito el punto critico llega cuando abro una consola para generar el controlador correspondiente: ruby/script generate ClassifiedMailer contact lo cual no hace nada y la respuesta es esta: Couldn´t find ´classifiedmailer´ generator Ese es el problema... sldos y gracias. -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On Nov 1, 9:24 pm, Rolando Sotomayor <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> he configurado el fichero environment.rb para poder trabajar con > actionmailer , he creado el formulario y casi todo lo que necesito > el punto critico llega cuando abro una consola para generar el > controlador correspondiente: > > ruby/script generate ClassifiedMailer contact > > lo cual no hace nada y la respuesta es esta: > > Couldn´t find ´classifiedmailer´ generatorThe first argument to generate is what you want to generate, i.e. ruby script/generate mailer ClassifiedMailer ... Also ruby 1.2.5 is really old, nearly 5 years old if my memory is correct - I''d start with something newer (current version of rails is 3.1.1) Fred> > Ese es el problema... > > sldos y gracias. > > -- > Posted viahttp://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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Thank you very mucho..I will be update my rails´s system -- 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@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.