You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then run_locally tries to call '/home/username/application_name/rvm1scripts/rvm-auto.sh'. When I add user with username on dev machine and create rvm-auto.sh in proper location - it is being run and do it's job, however problems with file ownership and other makes it not suitable solution.
How to run locally tasks when local user is different than on server?
The text was updated successfully, but these errors were encountered:
I try to use gem capistrano-local-precompile to lower memory requirements on staging.
When role server is being defined like user@host or option :user is being used run_locally tries to use rvm-auto.sh. And of course it fails.
So when role is
role :web, 'hostname.example.com'
run_locally is being run on dev machnie.
role :web, '[email protected]'
Then run_locally tries to call '/home/username/application_name/rvm1scripts/rvm-auto.sh'. When I add user with username on dev machine and create rvm-auto.sh in proper location - it is being run and do it's job, however problems with file ownership and other makes it not suitable solution.
How to run locally tasks when local user is different than on server?
The text was updated successfully, but these errors were encountered: