Skip to content

updateRemoteComposerBinary requires sudo #117

Description

@mchojrin

Hi:

I'm trying to deploy my application using this bundle, it works pretty fine generally but now I found I need to do an update to my composer binary.

I set updateRemoteComposerBinary to true but I'm getting an error from trying to place the composer binary inside /usr/local/bin/

It would work if I could just run this command using sudo... Is there any way to set this?

Thanks!

Activity

  1. fd6130 commented on Sep 1, 2020

    @fd6130

    Maybe you need to set a symlink for your composer.

  2. mchojrin commented on Sep 2, 2020

    @mchojrin
    Author

    Yeah... I don't think that'd work. The problem I have is I'd have to replace the binary stored at /usr/local/bin/ (which I can do using sudo). Perhaps there could be a new method executeAsSudo or maybe a parameter to use sudo for the command...

  3. fd6130 commented on Sep 4, 2021

    @fd6130

    Well... i suggest not to update the composer unless you really want to. If the version is working, just kept it as it.

  4. mchojrin commented on Sep 4, 2021

    @mchojrin
    Author

    Ok, thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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