Comments (7)
Any updates on updating the documentation with a section for just plain ruby install? I'm using Jekyll as well and would like to compliment it with this gem. Thanks!
from bootstrap-rubygem.
@twbs/sass Thoughts?
from bootstrap-rubygem.
For the previous versions Compass was necessary because out of the box Sass lacks functions for referencing compiled files correctly, and we needed these for glyphicon font files.
Compass is no longer necessary, so let's add another section to Readme, which is a plain ruby install.
from bootstrap-rubygem.
Any update about the documentation? I'm also using Jekyll and when I want to try the latest beta version, I got an error
File to import not found or unreadable: bootstrap.
I'm using bootstrap-sass
before and everything works like charm.
from bootstrap-rubygem.
Do you have a GitHub repo somewhere with a reproduction?
from bootstrap-rubygem.
@glebm currently no. I just start using Jekyll recently for my personal project.
I'm using Jekyll-assets
together with gem 'bootstrap-sass';
.
This is what my main.css.scss
look like:
@import '_sass/variables';
@import '_sass/scaffolding';
@import 'bootstrap-sprockets';
@import 'bootstrap';
@import 'font-awesome-sprockets';
@import 'font-awesome';
Everything works when I run jekyll serve
.
However, when I try to use the latest beta version,
I got this error when I try to run Jekyll Serve
Incremental build: disabled. Enable with --incremental
Generating...
Error in _assets/css/main.scss:7 File to import not found or unreadable: bootstrap.
Load paths:
/Users/MacBookPro/.rvm/gems/ruby-2.3.0/gems/font-awesome-sass-4.7.0/assets/stylesheets
/Users/MacBookPro/.rvm/gems/ruby-2.3.0/gems/font-awesome-sass-4.7.0/assets/fonts
I commented out the @import 'bootstrap-sprockets
.
It seems that Jekyll does not found the bootstrap path.
Any help?
from bootstrap-rubygem.
I was having the same problem and could make this gem work with Jekyll. I more or less followed the steps in the docs:
- add bootstrap, jquery and sprockets-rails to the
Gemfile
- run
bundle install
Importing Bootstrap styles step is a bit different:
- create
assets/main.scss
importing_bootstrap.scss
in Jekyll's root folder.
---
---
// Custom bootstrap variables must be set or imported *before* bootstrap.
@import "_bootstrap.scss";
and also:
- import the gem's scss files to Jekyll's
_sass
directory. Find them runningbundle show bootstrap
, then copy the content fromassets/stylesheets
to said folder.
I think that was it. I do not know if it is the best way but it is working for now.
from bootstrap-rubygem.
Related Issues (20)
- CI: replace Travis by GitHub Action HOT 1
- Rails7 Error: File to import not found or unreadable: bootstrap/scss/bootstrap. HOT 2
- Bootstrap 5.2.3 now available but rubygem missing HOT 1
- Bootstrap without sprockets HOT 18
- JS interactions not working when following the instructions in the README HOT 4
- Provide build for 5.3.0-alpha1 HOT 4
- Support for Bootstrap 5.3 HOT 1
- Gem "5.3.0-alpha1" does not exist as the document states in multiple places HOT 2
- Move to Dart Sass HOT 8
- Bootstrap 4.6.2 popper issue HOT 4
- Importmaps Documentation HOT 2
- Sass ABS deprecation warning for bootstrap-rubygem v 5.3.1 HOT 1
- Dynamic on the fly CSS generation
- Rubygems has latest of 5.3.1 and not 5.3.2 HOT 2
- Breaking change in 5.3.2: dropping dependencies HOT 3
- Update autoprefixer-rails dependency HOT 1
- Include ESM version?
- Main branch is ahead of rubygem’s gem, dartsass-rails is not included HOT 3
- Include bootstrap-icons HOT 1
- Rails default Dockerfile build failed after added bootstrap gem HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bootstrap-rubygem.