Ruby on Rails: Use Flatly Theme for Bootstrap -
question: bootstrap , have working in ruby on rails; found nice theme bootswatch.com called flatly; wish use in sass based application. put new bootstrap.min.css file?
1) have ruby(2.2.1) on rails (rails 4.0+) , have installed following gems
gem 'rails', '4.2.0' gem 'sqlite3' gem 'sass-rails', '>= 3.2' gem 'bootstrap-sass', '~> 3.3.4' gem 'autoprefixer-rails' gem 'uglifier', '>= 1.3.0' gem 'coffee-rails', '~> 4.1.0' gem 'jquery-rails'
according https://bootswatch.com, flatly theme requires newly downloaded bootstrap.min.css file. have tried following things , failed.
tried download boostrap.min.css file , place in app/assets/stylesheets. (failed)
i have tried using other gem's hard; couldn't work. in mock copied new boostrap.min.css file on prior 1 , instant profit.
i using application.css.scss following
@import "bootstrap-sprockets";
@import "bootstrap";
i using boostrap-sprockets if makes difference.
i have hunch has scss pre-compilation file; can't figure out ot change initial bootstrap file.
any suggestions help.
everyone:
- remove @import "bootstrap" application.css.scss
- put new min in app/stylesheets folder new theme
win.
Comments
Post a Comment