HTML/CSS ruby-china 是怎么样引用 bootstrap 的

kee · February 20, 2014 · Last by kee replied at February 20, 2014 · 7853 hits

看到 Gemfile 里有

gem 'anjlab-bootstrap-rails', '3.0.3.0', require: 'bootstrap-rails'

怎么 app/assets/sytlesheets 里还有 bootstrap.scss,而且还有执行权限呢?

只是把 bootstrap js 分类引入了吗?css 用的 app 下的?

忘了,好像 js 是从 gem 里面引用的,css 是拷贝出来修改过的

安装 bootstrap-sass (3.1.1.0)

$bundle update bootstrap-sass

Bundler could not find compatible versions for gem "bootstrap-sass": In Gemfile: api_taster (= 0.6.0) ruby depends on bootstrap-sass (~> 2.1) ruby bootstrap-sass (3.1.1.0)

You need to Sign in before reply, if you don't have an account, please Sign up first.