diff options
author | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-04-19 15:17:02 +0400 |
---|---|---|
committer | Gleb Mazovetskiy <glex.spb@gmail.com> | 2014-04-19 15:18:35 +0400 |
commit | 1a4ff080af2be55f1c17b5d2c99eb5f31aaf2e97 (patch) | |
tree | 3e5675c05bd0a389b14a98c17d6658aff7d1faca | |
parent | 936883c77802e283e622546331bafd03b348342c (diff) |
Document Rails 3.2 backport gems.
Refs #578, #523, #589.
-rw-r--r-- | README.md | 15 |
1 files changed, 13 insertions, 2 deletions
@@ -22,10 +22,21 @@ gem 'bootstrap-sass', '~> 3.1.1' #### Rails 3.2.x -For Rails 3.2.x, make sure bootstrap-sass is moved out of the `:assets` group. -This is because, by default, assets group gems are not required in `production`. +Rails 3.2 is [no longer maintained for bugfixes](http://guides.rubyonrails.org/maintenance_policy.html), and you should upgrade as soon as possible. + +If you must use it, make sure bootstrap-sass is moved out of the `:assets` group. +This is because, by default in Rails 3.2, assets group gems are not required in `production`. However, for pre-compilation to succeed in production, `bootstrap-sass` gem must be required. +Starting with bootstrap-sass v3.1.1.1, due to the structural changes from upstream you will need +backported asset pipeline gems on Rails 3.2. There is more on why this is necessary in #523 and #578. + +```ruby +gem 'sprockets-rails', '=2.0.0.backport1' +gem 'sprockets', '=2.2.2.backport2' +gem 'sass-rails', github: 'guilleiguaran/sass-rails', branch: 'backport' +``` + ### b. Compass without Rails Install the gem |