how do you include merb in thor tasks? In rails rake tasks we use something like
task :import_assets => :environment do which makes it possible to load models inside tasks, but how is this done using thor and merb? desc 'booh', 'test datamapper' def booh Location.new end the line above gives me something like: wikipedia.thor:8:in `booh': uninitialized constant Thor::Sandbox::Wikipedia::Location (NameError) -- 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.
