Reputation: 3535
Question: I like bootstrap and have it FULLY working in Ruby on Rails; I however found a nice theme from bootswatch.com called Flatly; I wish to use it in my SASS based application. Where do I put this new bootstrap.min.css file?
1) I have Ruby(2.2.1) on Rails (Rails 4.0+) and I have installed the 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 to https://bootswatch.com, the Flatly THEME only requires a newly downloaded bootstrap.min.css file. I have tried the FOLLOWING things and failed.
Tried to Download the boostrap.min.css file and place it in the app/assets/stylesheets. (failed)
I have tried using other Gem's but they are to hard; I couldn't get it to work. In my MOCK up i just copied the new boostrap.min.css file over my prior one and instant profit.
I am using application.css.scss with the following
@import "bootstrap-sprockets";
@import "bootstrap";
I am using boostrap-sprockets if that makes a difference.
I have a HUNCH that this has something to do with the SCSS pre-compilation file; I just can't figure out where ot change the initial bootstrap file.
Any Suggestions would really help.
Upvotes: 0
Views: 771
Reputation: 3535
Everyone:
Win.
Upvotes: 3