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
mina/foreman execute commands with sudo, but when used with rbenv fail, more info (if someone confirm that is not a problem with my environment I can send a pull request to resolve)
For now have pasted foreman.rb inside my deploy file and edited tasks to use rbenv sudo. Now there a new problem, don't know if correlated, Foreman create upstart script that before start server cd into 'deploy/to/path/tmp/build-140480388413740`.
This dir think is used as temp dir by mina during deploy, but now not exist, should not point to the current dir?
If run with simulate params passed to foreman export seems to be correct:
If is useful, deploy task(is the same of the docs):
task :deploy => :environment do
deploy do
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
invoke 'foreman:export'
invoke :'rails:db_migrate'
to :launch do
invoke 'foreman:restart'
end
end
The text was updated successfully, but these errors were encountered:
Hi,
mina/foreman
execute commands with sudo, but when used withrbenv
fail, more info (if someone confirm that is not a problem with my environment I can send a pull request to resolve)For now have pasted foreman.rb inside my deploy file and edited tasks to use
rbenv sudo
. Now there a new problem, don't know if correlated, Foreman create upstart script that before start server cd into 'deploy/to/path/tmp/build-140480388413740`.This dir think is used as temp dir by mina during deploy, but now not exist, should not point to the current dir?
If run with simulate params passed to foreman export seems to be correct:
If is useful, deploy task(is the same of the docs):
The text was updated successfully, but these errors were encountered: