PerfectlyNormal / tinymce-rails-imageupload

Image upload plugin for TinyMCE and Rails with the asset pipeline
MIT License
148 stars 153 forks source link

fixes path causing asset precompile to fail #88

Closed revgum closed 7 years ago

revgum commented 7 years ago

fixes #87

Tested this on my local server and it fixed the asset precompile problem

botimer commented 7 years ago

👍 I've been running into this and came up with the same fix. It would be great to get this merged and released. We currently depend on the config.tinymce.install option to provide a copy that does not preserve file modes, which pull request #77 allowed -- but it introduced this bad path.

PerfectlyNormal commented 7 years ago

Great! Thanks!

Pushed v4.0.17.beta.3 both to the repo and as a gem now. Hope it fixes your issues.

botimer commented 7 years ago

@PerfectlyNormal Thanks! I just tested this out and it's working nicely, with a custom "installer" class (which just calls FileUtils.cp without :preserve).