Rails 3 App generator - could not find source path

Could not find "README" in source paths.

module Nifty
  module Generators
    class AppGenerator < Base

      def self.source_root
        @source_root ||= File.expand_path(File.join(File.dirname
(__FILE__), 'templates'))

      def initialize(*args)

      def create_root_files
        # puts "Source path: #{self.source_root}"
        copy_file "README"

Even when I try to add the puts statement to see what the source_root
is, I am told "unknown method" !?
Any ideas?


Works with this in my Rakefile :slight_smile:

    gem.files=FileList['lib/**/*', 'bin/*']