Skip to content

Instantly share code, notes, and snippets.

@mahemoff
Created August 17, 2016 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mahemoff/8c9627baae2032331c8498e15ae5e859 to your computer and use it in GitHub Desktop.
Save mahemoff/8c9627baae2032331c8498e15ae5e859 to your computer and use it in GitHub Desktop.
Debugging JSAssets on IRB
# Run this on console to check asset path will work
JsAssets::List.exclude = ['boot.js'] ; JsAssets::List.allow = %w(app.js models/*.js prod-*.css); `rm -fr tmp/cache`; JsAssets::List.fetch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment