I get the following error:
[app (master)]$ heroku rake db:migrate
rake aborted!
undefined method `root' for Heroku::Rails:Module /app/Rakefile:7
(See full trace by running task with --trace) (in /app)
I can't figure out how to run trace as suggested by the error (heroku rake db:migrate --trace
gives "Invalid Option --trace"), and I don't believe this is related to the well-known "heroku doesn't use sqlite3" issue.
My Rakefile is as follows:
require File.expand_path('../config/application', __FILE__)
require 'rake'
SampleApp::Application.load_tasks