Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

undefined method `assets' for #<Rails::Application::Configuration:...> #23

Closed
yossibeck opened this Issue · 2 comments

2 participants

@yossibeck

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 :(

@Mange
Owner

Ouch, you're absolutely right.

@Mange
Owner

I just released 2.3.1 that should fix this problem. Sorry it took so long!

@Mange Mange closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.