2
在本教程中,我遇到了Rails資產管道問題。Rails 3.1 Netzke資產管道問題
http://blog.writelesscode.com/blog/2010/06/14/extjs-rails-crud-application-in-7-minutes/
我做符號鏈接:
> ln -s ~/code/ext-4.0.2a app/assets/extjs
我也試過
> ln -s ~/code/ext-4.0.2a public/extjs
我得到這個錯誤兩種方式:
/extjs/resources/css/ext-all.css isn't in paths:
/Users/ot/PM/app/assets/images,
/Users/ot/PM/app/assets/javascripts,
/Users/ot/PM/app/assets/stylesheets,
/Users/ot/PM/vendor/assets/stylesheets,
/Users/ot/.rvm/gems/[email protected]/gems/jquery-rails-1.0.16/vendor/assets/javascripts,
/Users/ot/.rvm/gems/[email protected]/gems/web-app-theme-0.8.0/app/assets/images,
/Users/ot/.rvm/gems/[email protected]/gems/web-app-theme-0.8.0/app/assets/stylesheets,
/Users/ot/.rvm/gems/[email protected]/gems/rails3-jquery-autocomplete-1.0.4/lib/assets/javascripts
我一直在玩機智h符號鏈接一個小時,並且沒有在哪裏。它仍然是一個目錄。
有什麼建議嗎?提前致謝。
天才,我的朋友。我昨天設置了config.assets.debug = false,但是後來在那個文件中沒有發現另一個config.assets.debug = true。謝謝! – mikeborgh