I'm pretty new in Rails and I want to know whether twitter-bootstrap is available for rails 2.3.5 with ruby version 1.8.7. How can I use it if twitter-bootstrap is available in lower versions of rails.
Asked
Active
Viewed 81 times
-1
-
2Since twitter-bootstrap is front-end framework, there's no reason it could be unavailable in Rails 2.3. – Marek Lipka Nov 17 '14 at 09:59
2 Answers
3
You cannot use any of the gems, which were created for later version of rails, to nicely integrate twitter-bootstrap into the asset pipeline.
In rails 2.3.5 you have no asset-pipeline, so it is in a sense much easier:
- download a distributable version of bootstrap
- place the css in
public/stylesheets
- place the js in
public/javascript
- include them in your
application.html.haml/erb
Done :)

nathanvda
- 49,707
- 13
- 117
- 139
-
-
Mmmm which version of bootstrap are you using? The responsive part is automatically included in v3. Or what do you mean? – nathanvda Nov 17 '14 at 12:48
2
twitter-bootstrap is a css library and hence has no relation to the version of ruby or rails that you use. So the answer is, yes, bootstrap should work fine with any version of rails.

A.K.
- 3,593
- 1
- 17
- 19