Skip to content

Instantly share code, notes, and snippets.

@ktkaushik
Created May 1, 2012 06:41
Show Gist options
  • Select an option

  • Save ktkaushik/2565651 to your computer and use it in GitHub Desktop.

Select an option

Save ktkaushik/2565651 to your computer and use it in GitHub Desktop.
solution for asset precompilation of BootStrap when using the Gem
# This should do it.
config.assets.compile = [ Proc.new { |path|
!File.extname(path).in?(['.js', '.css', ''])
}, /(?:\/|\\|\A)application\.(css|js)$/ ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment