# add to gemfile.rb and remember to bundle install
gem 'bootstrap-sass'
# 新增一個app/assets/stylesheets/styles.css.scss並將bootstrap import
@import 'bootstrap'
# app/assets/javascripts/application.js 加入bootstrap
//= require bootstrap

這樣就可以用了yaya