Add bootstrap to your rails app without gem file

If you want to add Twitter Bootstrap without gem file, follow those steps:

Download Bootstrap
Direct download link Bootstrap 3.0.0
Or got to

Copy CSS Files:

to: app/assets/stylesheets

Copy Js Files:

to: app/assets/javascripts

Append bootstrap CSS to application.css:

Append to: app/assets/stylesheets/application.css
*= require bootstrap

Append bootstrap JS to application.js:

Append to: app/assets/javascripts/application.js
//= require bootstrap

That’s it.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s