config.assets.precompile = ['*.js', '*.css']
That will compile any JavaScript or CSS in your asset path, regardless of directory depth. Found via this answer.
More Related Contents:
- How can I disable logging of asset pipeline (sprockets) messages in Ruby on Rails 3.1?
- Format a string containing Phone numbers
- Best way to load module/class from lib folder in Rails 3?
- Eager load polymorphic
- Rails 3.1 asset pipeline: how to load controller-specific scripts?
- No route matches [GET] /assets
- rails 3 – link_to to destroy not working
- file download link in rails
- Rails — use type column without STI?
- Why doesn’t `config.time_zone` seem to do anything?
- Setting Environment Variables in Rails 3 (Devise + Omniauth)
- Using Rails link_to for links that post
- Can we call a Controller’s method from a view (as we call from helper ideally)?
- Validate uniqueness of multiple columns
- Use rvmrc or ruby-version file to set a project gemset with RVM?
- Rails naming convention for join table
- How to change the default path of view files in a Rails 3 controller?
- Why use “self” to access ActiveRecord/Rails model properties?
- Rails 3 check if attribute changed
- Access helpers from mailer?
- Rails has_many through form with checkboxes and extra field in the join model
- Changing the base URL for Rails 3 development
- Is it possible to refresh partial frequently using Ajax?
- PGError: ERROR: aggregates not allowed in WHERE clause on a AR query of an object and its has_many objects
- Controlling the order of rails validations
- Ruby on Rails 3 howto make ‘OR’ condition
- Adding foreign key to a rails model
- Rails catch-all/globbing routes
- Always getting 401 Unauthorized with new install of Rails + Devise
- Difference between resource and resources methods