Giter Club home page Giter Club logo

Comments (6)

glebm avatar glebm commented on May 2, 2024

Well, autoprefixer-rails is specified as a runtime dependency of the gem, so it shouldn't be necessary to add it to the app Gemfile?

from bootstrap-rubygem.

bassjobsen avatar bassjobsen commented on May 2, 2024

i found i does only install but does not run without adding it to the app Gemfile. Maybe i did something wrong?

from bootstrap-rubygem.

glebm avatar glebm commented on May 2, 2024

Perhaps I'm confused about how transitive dependencies work.

If you remove autoprefixer-rails from Gemfile and then run:

require 'autoprefixer-rails'

in the console, does this return true?

from bootstrap-rubygem.

adelivuk-zz avatar adelivuk-zz commented on May 2, 2024

I can confirm @bassjobsen issue, without specifying the gem in the Gemfile, it doesn't work.

In my application.scss:

@import "bootstrap";

li{
  background: linear-gradient(to top, black, white);
  display: flex
}

With gem 'autoprefixer-rails' included in the Gemfile:

screen shot 2016-03-02 at 11 46 27

And without:

screen shot 2016-03-02 at 11 46 54

Also, check "How do I use bootstrap-sass's autoprefixer?" from SO.

from bootstrap-rubygem.

lotap avatar lotap commented on May 2, 2024

I can also confirm this behavior.
Mac OSX 10.11.3 - El Capitan
FireFox 44
Rails 4.2.5

from bootstrap-rubygem.

glebm avatar glebm commented on May 2, 2024

Should be fixed on master

from bootstrap-rubygem.

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.