This is an issue with thor, not merb. Not sure of a better place to post, hope ya'll don't mind.
Under my project's tasks/ directory there is merb.thor/ I'm trying to follow this and also by reading this like http://www.engineyard.com/blog/2009/some-thor-news/ but coming up short to create my own tasks bundle. First off, I was hoping to structure my directory like so: my.thor/ my.thor/main.thor my.thor/class1.rb my.thor.class2.rb The goal is to have main.thor be empty (I've defined an empty module "My" there, but otherwise empty) and have each ruby file be a separate Thor subclass in the My module. I want these tasks to be accessible system wide, not just under the project so I use the command "thor install path_to_my.thor" This command seems to work. Seemingly appropriate files are added to ~/.thor but when I run "thor installed" I'm told there are no installed tasks. So what should I be doing in main.thor to get this to work? It doesn't make much sense to have a thing called a "bundle" if I have to describe all my tasks in one main.thor file. OR is the idea of calling it a bundle that you just get your support files copied over with it? One side note, I notice in merb.thor utils.rb the module ColorfulMessages. Is it safe to copy this into my tasks and reuse? Seems like a useful util to have in the core thor gem. thanks, Jon --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
