Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-sass.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Mazovetskiy <glex.spb@gmail.com>2014-04-19 15:17:02 +0400
committerGleb Mazovetskiy <glex.spb@gmail.com>2014-04-19 15:18:35 +0400
commit1a4ff080af2be55f1c17b5d2c99eb5f31aaf2e97 (patch)
tree3e5675c05bd0a389b14a98c17d6658aff7d1faca
parent936883c77802e283e622546331bafd03b348342c (diff)
Document Rails 3.2 backport gems.
Refs #578, #523, #589.
-rw-r--r--README.md15
1 files changed, 13 insertions, 2 deletions
diff --git a/README.md b/README.md
index ddff15fd..aeae6815 100644
--- a/README.md
+++ b/README.md
@@ -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