undefined method `assets' for #<Rails::Application::Configuration:...>
yossibeck opened this issue · comments
From what I take, asset pipeline wasn't included until rails 3.1, this leads to a break on line #32:
def current_provider
return config.roadie.provider if config.roadie.provider
if config.assets.enabled ############# line 32 ##########
AssetPipelineProvider.new
else
FilesystemProvider.new
end
end
I changed it to:
if config.respond_to?(:assets) && config.assets.enabled
which solves my problem, but really .. the dependencies are broken :(
Ouch, you're absolutely right.
I just released 2.3.1 that should fix this problem. Sorry it took so long!