Skip to content

Compile to tmp/javascripts instead of public/javascripts #12

@mrrooijen

Description

@mrrooijen

Hey, I'm deploying an app to Heroku and was wondering if it's possible to compile javascripts such as:

= javascript_include_tag 'jquery.min', 'rails', 'application', :cache => true

in to Rails.root/tmp/javascripts rather than Rails.root/public/javascripts since that's the only writable directory on Heroku. It's not possible to do the following:

= javascript_include_tag 'jquery.min', 'rails', 'application', :cache => "#{Rails.root}/tmp/javascripts/all.js"

Any idea's how I can accomplish this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions