Twitter Bootstrap 2: how to add responsive(ness) to Rails asset pipeline

asset-pipeline, responsive-design, ruby-on-rails, twitter-bootstrap

Solution

Found them, they are already included in the bootstrap-sass gem:

"As per the Bootstrap project we don't include the responsive styles by default. `@import "bootstrap-responsive";` to get them."

Problem

Got my Rails app all beautified with Twitter Bootstrap but I think I'm missing how to add Bootstrap's responsive behavior into the asset pipeline. Currently when I stretch my window it doesn't grow (or shrink, for that matter). I have added the viewport meta data in `<head>`: ``` <meta content='width=device-width, initial-scale=1.0' name='viewport'> ``` But, not quite sure how, or where, to add the stylesheet: ``` <link href="assets/css/bootstrap-responsive.css" rel="stylesheet"> ```

Original source