-
Notifications
You must be signed in to change notification settings - Fork 489
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
Deploy does not work since version 1.2.0 #572
Comments
I have added a couple of guards to discourage wrong use. |
I doesn't differ much from one that is generated with require 'mina/rails'
require 'mina/git'
require 'mina/rbenv' # for rbenv support. (https://rbenv.org)
set :application_name, 'paradox'
set :domain, 'paradox-life.ru'
set :deploy_to, '/var/www/paradox-life.ru'
set :repository, '...'
set :branch, 'master'
set :user, 'developer' # Username in the server to SSH to.
set :shared_dirs, fetch(:shared_dirs, []).push('tmp', 'log', 'public/uploads', 'public/ckeditor')
set :shared_files, fetch(:shared_files, []).push('.env')
task :environment do
invoke :'rbenv:load'
end
task :setup do
end
desc "Deploys the current version to the server."
task :deploy do
deploy do
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
invoke :'rails:db_migrate'
invoke :'rails:assets_precompile'
invoke :'deploy:cleanup'
on :launch do
in_path(fetch(:current_path)) do
command %{mkdir -p tmp/}
command %{touch tmp/restart.txt}
end
end
end
end (I've removed comments for brevity). |
Gah, had a typo! Thank you! Released v1.2.1 with a fix |
Now it fails with another error :)
Is it somehow connected with |
I changed |
@ozgg thanks! |
I've updated bundle to
1.2.0
and since then if I try to runmina deploy
, I get the following error without any additional information:Creating new config with
mina init
does not help. So I had to roll back to previous version.The text was updated successfully, but these errors were encountered: