Skip to content
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

Wrong assets path when precompilation i skipped #193

Closed
mbajur opened this issue May 14, 2014 · 2 comments
Closed

Wrong assets path when precompilation i skipped #193

mbajur opened this issue May 14, 2014 · 2 comments

Comments

@mbajur
Copy link

mbajur commented May 14, 2014

Hello!
I'm using mina for some time now (like year or something) and few days ago i have encountered a strange issue in one of my projects (others works just fine so it's even more strange).

If mina skips assets precompilation, the following command is runned (according to --verbose)

$ cp -R "/home/user_name/project_name/current/public/assets" "./public/assets"

As far as i know, that's exactly how it should look. However, on my server, after a deploy, assets are placed not in ./public/assets directory but ./public/assets/assets whic obviously breaks my application and i need to run mina rake[assets:precompile] manually each time assets precompilation is skipped during a deploy.

Have you any idea what the hell is going on in here? Is that some kind of my server configuration related stuff or mina bug?

Thanks in advance.

@fabioglopes
Copy link

I have the same issue. Actually I set - invoke :'rails:assets_precompile:force' to run the precompilation every time I deploy, but it is annoying.

@gabskoro
Copy link
Member

This is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants