Sha256: a4e8d22edaa1d396ac81e27aea4ee3ae34d73d4a5a8102503d5967c0c5f380ed
Contents?: true
Size: 1.17 KB
Versions: 2
Compression:
Stored size: 1.17 KB
Contents
# Sprockets::Helpers::Nonexistent Notify nonexsistent stylesheet or javascript through sprockets-rails. When you use `stylesheet_link_tag` or `javascript_include_tag` in development or test, rails continues rendering if those asset files don't exist. But that cause error in production, for example `isn't precompiled`. This gem can use Rails3.2. If you want to use this gem in Rails4.x, please use [sprockets-rails-nonexistent](https://github.com/h3poteto/sprockets-rails-nonexistent). ## Installation Add this line to your application's Gemfile: ```ruby gem 'sprockets-helpers-nonexistent' ``` And then execute: $ bundle Or install it yourself as: $ gem install sprockets-helpers-nonexistent ## Usage You can use `stylesheet_link_tag` and `javascript_include_tag` same as before. When sprockets can not find stylesheet or javascript, raise error in development and test. ## Contributing 1. Fork it ( https://github.com/h3poteto/sprockets-helpers-nonexistent/fork ) 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am 'Add some feature'`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create a new Pull Request
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
sprockets-helpers-nonexistent-0.0.2 | README.md |
sprockets-helpers-nonexistent-0.0.1 | README.md |