Hi all, I'm trying to create a generator. As there are quite a few files in my generator i decided it would be a good idea to make some subdirectories in the template directory. But now i can't seem to copy the files from these subdirectories with the file method. For example: record do |m| m.file File.join('controllers','abc_controller.rb'), File.join('app','controllers','abc_controller.rb') .... gives a "No such file or directory ..../templates/controllers/ abc_controller.rb"
Any ideas? Greetings, Peter