# ActionView::RevManifest Let Rails load rev-manifest.json generated by [gulp-rev](https://github.com/sindresorhus/gulp-rev). ## Usage Add to your Gemfile: ```rb gem "actionview-rev_manifest" ``` Run: ``` bundle install ``` ## Setup ```rb #config/initializers/actionview-rev_manifest.rb RevManifest.enabled = Rails.env.production? ``` ## Sample gulpfile.coffee ```coffee gulp = require "gulp" rev = require "gulp-rev" gulp.task "precompile", -> gulp.src([ "public/assets/javascripts/*.js", "public/assets/stylesheets/*.css" ], base: "public") .pipe(rev()) .pipe(gulp.dest("public")) .pipe(rev.manifest()) .pipe(gulp.dest("public/assets")) ```