Comments (4)
The files stay in the location the gem was installed in, and the containing folders are added to your Rails asset load path, meaning they are separate from your application.
Perhaps the quickest way of discovering this would be to open up a Rails console and type the following:
Rails.application.config.assets.paths
which will return an array of all the folders on your asset load path. This will then let you find the location of the bootstrap-sass gem - which, on my laptop, is in:
"/Users/tom/.rvm/gems/ruby-1.9.3-p0/gems/bootstrap-sass-1.4.0/vendor/assets/stylesheets"
What exactly is it that you are looking for from the source files?
from bootstrap-sass.
Well, I'd like to modify variables.scss for one. I did see a stackoverflow question where you mentioned using @include and then overriding these variables. I'll look into doing this as it seems like the best option.
My path ended with the gem in my RVM setup as well. Since I'm using JRuby and compiling my Rails project to a WAR file for deploying to Tomcat, this could get a bit weird. During the compiling process, all of the gems get vedored.
I am just weirded out by "Rails Magic" when I have no idea where the source files are. So for now, I've just cloned your repo and copied the contents into my lib and vendor folders.
Thanks,
-Jim
from bootstrap-sass.
Aye, whatever works best for you.
It might be worth looking into issue #11 since it is a much better way to configure variables that will be included in 1.4.1. I'm hoping to push that out in the next 30 minutes, got to sync the javascripts & ensure there's no breaking styles. Will get the documentation updated as well.
from bootstrap-sass.
Looks good. I'm totally down with doing it the right way. I just needed to realize this is not a "edit source file" type situation. The default bootstrap is based on Less so the workflow is "edit less file, recompile, (lather, rinse, repeat). This is just a new thing.
Look forward to the cool things that can be built with this.
from bootstrap-sass.
Related Issues (20)
- sass::syntaxerror Undefined mixin 'border-radius'
- php bin/console assetic:dump --env prod causes error
- Build fails: Unclosed string HOT 1
- Deprecation warnings with `Dart Sass 1.33.0` HOT 8
- Bootstrap-sass v3.3.7 generates a "Using / for division is deprecated and will be removed in Dart Sass 2.0.0." warning when using laravel mix HOT 1
- tooltip inside modal window, on hover of the element scroll bar goes to top - blocker
- math.div changes applied to non-division variables HOT 6
- Compatibility with gulp-sass 4.1.1 broken with bootstrap-sass 3.4.3 and 3.4.2 HOT 24
- Wrong use of Math.div. Breaks compilation HOT 1
- Update packagist for 3.4.3 HOT 7
- 3.4.2 has breaking change math.div HOT 3
- Grunt compass:dist task failing due to Invalid CSS in bootstrap-sass-official/assets/stylesheets/bootstrap/_variables.scss HOT 4
- Font glyphicons is affecting performance HOT 1
- Issue with tooltip
- Removal of sassc dependency HOT 5
- Well, it's only shown if it was already open: if (this._isShown()) {
- Fakeout
- Feature: Additional utilities for width and height property
- [WARNING] Expected ")" to end URL token [css-syntax-error]
- Possible to use this gem with `dartsass-rails`?
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-sass.