Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 709 Bytes

README.md

File metadata and controls

25 lines (15 loc) · 709 Bytes

html5shiv-rails

This is a custom gem for extension projects that bundles html5shiv as a gem for use in the Rails 3.2+ asset pipeline. Versioning keeps pace with html5shiv - and it includes the non-minified version (preferring to let the asset pipeline handle the minification)

Installation

Add this line to your application's Gemfile (uses our internal gem server only, not pushed to rubygems.org)

group :assets do
  gem 'extension-html5shiv-rails', :require => 'html5shiv-rails'
end

And then execute:

$ bundle

Or install it yourself as:

$ gem install extension-html5shiv-rails

Usage

<!--[if lt IE 9]>
  <%= javascript_include_tag 'html5shiv' %>
<![endif]-->