我正在將Rails-3.1之前的應用遷移至3.1(實際上,其他人嘗試遷移至3.0的部分工作;我喜歡繼續前進,現在達到3.1)。將Rails應用遷移至3.1,無法正常工作
當我使用rails new
創建新的Rails 3.1應用程序時,框架應用程序看起來很好。
當我在遷移的應用程序運行rake test
或thin start
,不過,我得到:
/Users/dwhsix/.rvm/gems/[email protected]/gems/sass-rails-3.1.0.rc.6/lib/sass/rails/template_handlers.rb:32:in `<class:SassTemplate>': undefined method `default_mime_type=' for Sass::Rails::SassTemplate:Class (NoMethodError)
我認爲我已經正確配置的東西。寶石是正確的,application.rb
有:
config.assets.enabled = true
config.generators.stylesheet_engine = :sass
是否有更多的某處需要?
謝謝...