Forum: Ruby on Rails execute class with script/generate

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
94ac01209314464490a94b47f051be0b?d=identicon&s=25 alarkspur (Guest)
on 2007-02-17 22:32
(Received via mailing list)

There is to do in order to execute a my own class with script/generate?
I have created a class to generate a css files in the directory plugins


class CssGenerator < Rails::Generator::Based
  def manifest
        record do |m|
      m.file "mytemplates/top.css", "public/stylesheet/top/top.css"

that I must modify in my application to be able to use my class
CssGenerator with script/generate CssGenerator ???

excuse to my bad english and thanks for the help.
a greeting
This topic is locked and can not be replied to.