Adding the environment to Merb’s Rake tasks

I was playing around with Merb some last night but I was running into a problem when I tried to utilize my models in a Rake task. Searching around I finally came across the Merb version of the task foo => :environment, it’s task foo => :merb_env. Now things are going much more smoothly.

One thought on “Adding the environment to Merb’s Rake tasks

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>