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')) end def initialize(*args) super end def create_root_files # puts "Source path: #{self.source_root}" copy_file "README" ... end end Even when I try to add the puts statement to see what the source_root is, I am told "unknown method" !? Any ideas? Thanks! -- 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-t...@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.