RailsCasts Pro episodes are now free!

Learn more or hide this

Jason Zwolak's Profile

GitHub User: jzwolak

Comments by Jason Zwolak

Avatar

Use *= stub mercury.css and //= stub mercury.js to exclude Mercury by default then include it explicitly on editable pages.

This has an advantage over removing the require_tree line in that all your javascript and css files will still be included without having to explicitly add them.

This is new to Sprockets 2.2.0 and up, I believe.

Avatar

Following the screencast, but using 'head' instead of the commit used in the screencast, I get this:

command line
$ rake mercury_engine:install:migrations
rake aborted!
Don't know how to build task 'mercury_engine:install:migrations'

(See full trace by running task with --trace)

Any suggestions on how to install the migrations?