Skip to content

My ExecStart #1

Closed
Closed

Description

@ardianys

Hi, thanks for your work.

But I have to made this change to make it work.

Thanks.

#ExecStart=/home/ubuntu/.rbenv/bin/rbenv exec bundle exec rake solid_queue:start
ExecStart=/home/ubuntu/.rbenv/shims/bundle exec rake solid_queue:start

Activity

  1. kaluznyo commented on Dec 27, 2024

    @kaluznyo

    Same for me, Thanks for the tip !

  2. burisu commented on Nov 9, 2026

    @burisu
    Contributor

    Thanks for the report, and sorry for the delay. capistrano-rbenv adds RBENV_ROOT="$HOME/.rbenv" to default_env. Capistrano commands run through a shell that expands $HOME, but the plugin wrote the value as is into the service, so rbenv exec looked for a directory literally named $HOME/.rbenv. The bundle shim works because it exports an absolute RBENV_ROOT itself.

    #12 makes the plugin expand default_env values on the server before writing them into the service. Once released, run cap <stage> solid_queue:install again: the default ExecStart will work without editing the service.

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