The modernizr-rails gem will include the Modernizr.js library (https://github.com/Modernizr/Modernizr) into your Rails 3.1 or higher app via the asset pipeline. This modernizr.js file was built using the builder located at http://www.modernizr.com/download/ with all options checked.
How to Use
Add the following to your GemFile:
Then add the following to your application.js manifest:
//= require modernizr
This is my first Ruby Gem so if there is anything that can be done better or you would like to see tweaked, please send me a push request.