Почему-то не хотят подгружаться стили в Rails-приложении.
#Gemfile
gem 'sass-rails', '~> 5.0'
gem 'bootstrap-sass'
#application.scss
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require_tree .
*/
@import "bootstrap-sprockets";
@import "bootstrap";
#application.js
//= require jquery
//= require bootstrap-sprockets
//= require jquery_ujs
//= require turbolinks
//= require_tree .
#development.rb
Mongoid.load!("config/mongoid.yml", :development)
#mongoid.yml
development:
clients:
default:
database: app
hosts:
- localhost:27017
options:
options:
test:
clients:
default:
database: app_test
hosts:
- localhost:27017
options:
read:
mode: :primary
max_pool_size: 1