Git Product home page Git Product logo

Comments (2)

spohlenz avatar spohlenz commented on September 24, 2024

I'm seeing the correct behaviour on a new Rails 3.1.0 app with the digestion and twitter-bootstrap-rails gems, and config.assets.digest_exclusions << /fontawesome/ added to config/environments/production.rb. Are there any other gems that could be interfering with the compilation process?

I'd strongly recommend upgrading from 3.1.0 though if at all possible. In later versions, the digestion gem is unnecessary as both fingerprinted and non-fingerprinted assets are compiled, not to mention the security fixes in Rails itself.

from digestion.

pjscopeland avatar pjscopeland commented on September 24, 2024

I wouldn't have thought there'd be a problem with other gems, but the ones I have relevant to assets (and their dependencies) are:

sprockets (2.0.3)
  hike (1.2.1)
  rack (1.3.6)
  tilt (1.3.3)
jquery-rails (1.0.19)
  thor (0.14.6)
sass-rails (3.1.6)
  sass (3.1.15)
coffee-rails (3.1.1)
  coffee-script (2.2.0)
    coffee-script-source (1.2.0)
    execjs (1.3.0)
      multi_json (1.3.6)
uglifier (1.2.3)
therubyracer (0.9.9)
  libv8 (3.3.10.4)
twitter-bootstrap-rails (2.0.6)
  less-rails (2.2.3)
    less (2.2.1)
      commonjs (0.2.6)
digestion (1.2.1)

Any known issues with those...?

Anyway, what I might do is compile the assets without fingerprinting, commit just the fontawesome stuff, and then I can revert those back whenever I compile them again. It's a bit of a hack, but I think it'll work.

from digestion.

Related Issues (2)

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.