mina-deploy / mina

Blazing fast deployer and server automation tool
https://rubygems.org/gems/mina
Other
4.34k stars 491 forks source link

Update default asset_paths for Rails 5 #620

Closed sunny closed 5 years ago

sunny commented 6 years ago

Helps with #610

aried3r commented 5 years ago

Hey @sunny, did this change not work for you? Or why did you close this?

I'm still facing this issue and would be interested in how you solved it :)

sunny commented 5 years ago

@aried3r I remember thinking that I shouldn't close this without a message… now I don't remember why I did. 🙄

In my app, having:

set :asset_dirs, fetch(:asset_dirs, []).push("app/javascript/")
set :shared_dirs, fetch(:shared_dirs, []).push("public/packs")

seems to have done the trick, though.