-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shared path is wrong if your deploy_to is different #39
Comments
PRs accepted |
This is not an issue with this specific extension. It's just a limitation of Capistrano itself. I suggest you either go with the workaround from #22 or try and bring this issue up on Capistrano. |
I think that in capistrano-rails they're addressing the same issue. Maybe something like this do the job: namespace :composer do
task :set_composer_command_map do
SSHKit.config.command_map[:composer] = "#{shared_path.join("composer.phar")}"
end
end
Capistrano::DSL.stages.each do |stage|
after stage, 'composer:set_composer_command_map'
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See #22
This will not works.
SSHKit.config.command_map[:composer] = "php #{shared_path.join("composer.phar")}"
The text was updated successfully, but these errors were encountered: