Skip to content
This repository has been archived by the owner on Sep 18, 2020. It is now read-only.

Commit

Permalink
Depend on sprockets-rails < 2.1 instead of actionpack
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredbeck committed Jun 29, 2014
1 parent 087bc57 commit ea2f296
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## What

Errors, more of them, and better. For sprockets, specifically sprockets-rails. The goal of this library is to make it painfully obvious when you've done something wrong with the rails asset pipeline. Like what?
Errors, more of them, and better. For sprockets, specifically sprockets-rails < 2.1. The goal of this library is to make it painfully obvious when you've done something wrong with the rails asset pipeline. Like what?

Let's say you're referencing an asset in your view

Expand All @@ -20,7 +20,9 @@ That would be AMAZING! Well this gem adds these types of helpful errors!

## Compatibility

If you're using Rails 3.2 you will need to [enable the Rails 4 asset pipeline in Rails 3](https://discussion.heroku.com/t/using-the-rails-4-asset-pipeline-in-rails-3-apps-for-faster-deploys/205). Works out of the box with Rails 4.
Rails > 3.2.0 and < 4.0.6. See gemspec for details.

If you're using Rails 3.2 you will need to [enable the Rails 4 asset pipeline in Rails 3](https://discussion.heroku.com/t/using-the-rails-4-asset-pipeline-in-rails-3-apps-for-faster-deploys/205).

## Install

Expand Down
3 changes: 1 addition & 2 deletions sprockets_better_errors.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ MSG

gem.post_install_message = msg

gem.add_dependency "sprockets-rails", ">= 1.0.0"
gem.add_dependency "actionpack", "< 4.1"
gem.add_dependency 'sprockets-rails', '>= 1.0.0', '< 2.1'
gem.add_dependency "activesupport", "< 4.1"

gem.add_development_dependency "capybara", ">= 0.4.0"
Expand Down

0 comments on commit ea2f296

Please sign in to comment.