PROBLEMA: Ao executar o comando de deploy do capistrano ($ bundle exec cap production deploy
) é apresentado o seguinte erro:
Permission denied (publickey).
Instalando e configurando o Vagrant | |
1) Baixe e instale o VirtualBox (virtualbox.org) | |
2) Baixe e instale o Vagrant (vagrantup.com) | |
3) Acesse o vagrandcloud.com e escolha sua box base | |
4) Adicione a box ao vagrant (vagrant box add <sua>/<box>) | |
5) Caso esteja usando o Windows configure o puTTY | |
a) Baixe o puTTY e o puTTYgen (putty.org) | |
b) Baixe a chave privada | |
(https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant) | |
c) Abra o puTTYgen, clique em "LOAD" e informe a chave privada que você baixou |
Configurção: | |
● ruby | |
● rails | |
● git | |
● mysql | |
● postgreSQL | |
● node.js | |
Atualizar Sistema: | |
$ sudo apt-get update |
Após atualização do Ubuntu 18.04 para 18.10 o bundle update
e bundle install
parou de funcionar apresentando o erro abaixo:
Retrying fetcher due to error (2/4): Bundler::HTTPError Could not fetch specs from http://rubygems.org/
Identificação do problema:
gem sources --list
estava vazio