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
desc "Deploys the current version to the server."
task :deploy do
# uncomment this line to make sure you pushed your local branch to the remote origin
# invoke :'git:ensure_pushed'
deploy do
# Put things that will set up an empty directory into a fully set-up
# instance of your project.
invoke :'git:clone'
invoke :'deploy:link_shared_paths'
invoke :'bundle:install'
invoke :'rake:db_migrate'
invoke :'rake:assets_precompile'
invoke :'deploy:cleanup'
on :launch do
invoke :'puma:phased_restart'
end
end
# you can use `run :local` to run tasks on local machine before of after the deploy scripts
# run :local { say 'done' }
end
The root cause of the error is this line invoke :'rake:db_migrate'
Any suggestion please
Thanks
The text was updated successfully, but these errors were encountered:
Presuming you're requiring mina/rails somewhere in your deploy.rb file before invoking these tasks, the correct names for them are rails:db_migrate and rails:assets_precompile.
I am getting following error
and my deploy.rb look like this
The root cause of the error is this line
invoke :'rake:db_migrate'
Any suggestion please
Thanks
The text was updated successfully, but these errors were encountered: