<%= yield %> require "rake/sprocketstask" Rake::SprocketsTask.new do |t| t.environment = MyApp.sprockets t.output = "./public/assets" t.assets = %w( * ) # or you want such as %w(application.js style.css) end