我想用https://github.com/linjunpop/jquery-tablesorter-rails排序我的表。Sprockets :: FileNotFound當試圖包括一個jQuery寶石
/*
* = require jquery-tablesorter/blue
*/
錯誤消息:
Sprockets::FileNotFound: couldn't find file 'jquery-tablesorter/blue'
我看到的寶石被加載在配置路徑:
1.9.3p194 :008 > Rails.application.config.assets.paths.each { |x| puts x }
.rvm/gems/ruby-1.9.3-p194/gems/jquery-tablesorter-1.0.5/vendor/assets/images
.rvm/gems/ruby-1.9.3-p194/gems/jquery-tablesorter-1.0.5/vendor/assets/javascripts
.rvm/gems/ruby-1.9.3-p194/gems/jquery-tablesorter-1.0.5/vendor/assets/stylesheets
任何我想包括CSS,當運行到問題想法問題可能是什麼?
你有沒有解決呢? – pjmorse
我認爲* =需要jquery-tablesorter/theme.blue –