Skip to content

Instantly share code, notes, and snippets.

@jodosha
Created April 8, 2011 10:39
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 jodosha/909622 to your computer and use it in GitHub Desktop.
Save jodosha/909622 to your computer and use it in GitHub Desktop.
Configuration example for https://github.com/jodosha/assets_packager
# config/initializers/assets.rb
AssetsPackager.configure do |config|
config.root_path = ::Rails.public_path
config.file_path = ::Rails.root.join('config', 'assets.yml')
end
# config/assets.yml
---
css:
- application
- jquery-ui
js:
- jquery
- jquery-ui
- jquery.rails
- application
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment