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.
Adding the environment to Merb’s Rake tasks
1