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

kee · 2014年02月20日 · 最后由 kee 回复于 2014年02月20日 · 7848 次阅读

看到 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)

需要 登录 后方可回复, 如果你还没有账号请 注册新账号