Ruby on Rails 3.1 and jQuery UI images

前端 未结 18 987
无人及你
无人及你 2020-12-12 11:50

I\'m using Ruby on Rails (Edge, the development version), and Ruby rvm 1.9.2.

application.js is as follows.

//= require jquery
//= requi         


        
18条回答
  •  独厮守ぢ
    2020-12-12 12:06

    There's a proposed fix in Ruby on Rails that makes precompilation of jQuery UI's images work.

    (As of 3.1.0rc6, the asset precompiler uses the regular expression /\w+\.(?!js|css).+/ to find things to compile. This misses all the jQuery UI images because their names include dashes and underscores.)

提交回复
热议问题