I though I'd share a script I wrote to help with creating rails generators I've been wrapping a lot of the code I reuse between projects in gems and creating generators to to publish the code into new projects.
The plan makes sense, but while developing the code base I found I was changing the code within a project, copying the files into the gem/ rails_generator/templates directory, building the gem, reinstalling the gem, running the generator and making sure I had not missed any files in the copy. So I wrote a script that uses a list of files and directories to grab and put back into my gem. Here's a copy of the script I wrote that gets the job done (for now) http://gist.github.com/342902 Anyone else had this issue? Any other ideas on what I could have done? Chris -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
