search for: create_root_fil

Displaying 1 result from an estimated 1 matches for "create_root_fil".

Did you mean: create_root_dir
2010 Jan 29
1
Rails 3 App generator - could not find source path
...uot; 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...