0
當我使用Rails初始化程序在Rails 3中配置asset_sync gem時,如何設置AssetSync.config.run_on_precompile = false
?如何設置AssetSync.config.run_on_precompile在使用Rails初始化程序配置asset_sync時gem
當我運行
bundle exec rake assets:clean --trace
我得到一個錯誤,指出:
** Invoke assets:clean:all (first_time) ** Invoke assets:cache:clean (first_time) ** Invoke assets:environment (first_time) ** Execute assets:environment ** Invoke environment (first_time) ** Execute environment rake aborted! undefined method `run_on_precompile=' for #
是的,我想在rake任務中禁用它。謝謝! –
結帳這個問題我不認爲你可以禁用預編譯[assets_sync](https://github.com/plataformatec/devise/wiki/OmniAuth:-Overview) –