Sha256: a2c67a94f86d42232286139c2de2edcfc73f769348e2774fc5d23626ade06759

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

# Sprockets::Rails::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`.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sprockets-rails-nonexistent'
```

And then execute:

    $ bundle

Or install it yourself as:

    $ gem install sprockets-rails-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-rails-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-rails-nonexistent-0.0.3 README.md
sprockets-rails-nonexistent-0.0.1 README.md