-
-
Notifications
You must be signed in to change notification settings - Fork 631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset precompilation stage cannot cope with filenames with spaces in them #505
Comments
Yes! Good catch. Here's an example of where this is happening: @samphilipd Any chance that you can submit a PR that has:
|
@justin808 It seems like this is caused because react_on_rails is trying to create non-digested versions of assets. My question would be why not use something like this instead which is mature and has had all the bugs worked out? |
alexspeller/non-stupid-digest-assets#35 amongst other reasons: Seems like that doesn't work on Heroku. And no tests! |
@justin808 perhaps the asset linking part could be extracted out of react_on_rails into a separate gem? I just feel like architecturally it's reaching a bit beyond scope here. I'll see about a PR though if I have some time. |
@samphilipd Since we want React on Rails to handle CSS Modules well, this is a natural inclusion. |
@alleycat-at-git @robwise @samphilipd Rather than using http://ruby-doc.org/core-2.2.0/File.html#method-c-symlink We also need to set the directory: http://apidock.com/ruby/FileUtils/cd @dzirtusss Check this one out. |
I have send PR closing this |
See #510. |
Just updated
react_on_rails
to 6.0.5 and now I see this error precompiling assets:Seems like React on Rails chokes on filenames with spaces in them.
The text was updated successfully, but these errors were encountered: