Skip to content

Skipping asset precompilation: wrong copy paths #246

@zhulik

Description

@zhulik

When mina skipping assets precompilation it trying to execute

#{echo_cmd %[cp -R "#{deploy_to}/#{current_path}/public/assets" "./public"]}

So, on my server "#{deploy_to}/#{current_path}/public/assets" and "./public" is the same folders. Is it my mistake or mina bug?

My deploy log:

...
It was installed into ./vendor/bundle
-----> DB migrations unchanged; skipping DB migration
-----> Skipping asset precompilation
cp: `/home/deployer/lifescan/current/public/assets' and `./public/assets' are the same file
! ERROR: Deploy failed.
-----> Cleaning up build
Unlinking current
OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions