Coder Social home page Coder Social logo

Comments (4)

thomas-mcdonald avatar thomas-mcdonald commented on April 28, 2024

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.

nobleach avatar nobleach commented on April 28, 2024

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.

thomas-mcdonald avatar thomas-mcdonald commented on April 28, 2024

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.

nobleach avatar nobleach commented on April 28, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.