Rails with Twitter Bootstrap: still serving an old asset

后端 未结 1 735
长发绾君心
长发绾君心 2021-02-13 13:29

Going nuts here. I\'m developing a rails app, and I\'m using the twitter-bootstrap-rails gem in order to include the Twitter Bootstrap styles in my app. This gem generates a fil

1条回答
  •  礼貌的吻别
    2021-02-13 14:07

    Fixed it.

    The asset pipeline was storing a cached version in tmp/cache.

    I ran rake tmp:clear, which deleted all the files in there, and then rails served the version of *bootstrap_and_overrides.css.less* that I wanted.

    Why the cached version suddenly stopped getting updated is beyond me. Arrghhhh!

    0 讨论(0)
提交回复
热议问题