Last active
December 14, 2015 06:09
-
-
Save vagnerzampieri/5040937 to your computer and use it in GitHub Desktop.
instalação da máquina
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Alias: | |
| Criei um ~/.bash_aliases que será carregado no ~/.bashrc do usuário logado, | |
| ele vai carregar aliases úteis para utilização, depois que colocar os | |
| alias(https://gist.github.com/4492613) é só carregar o bashrc com | |
| um 'source ~/.bashrc' | |
| Saída do Bash melhorada: | |
| Deve ser colocado em ~/.bashrc o código(https://gist.github.com/3094935) | |
| e depois carregar o bashrc com um 'source ~/.bashrc' | |
| Instalando dependências: | |
| apti build-essential openssl libreadline6 libreadline6-dev git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev libxslt-dev libc6-dev ncurses-dev automake | |
| Instalando rbenv: | |
| Rode os comandos abaixo na sequência. | |
| git clone git://github.com/sstephenson/rbenv.git ~/.rbenv | |
| echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc | |
| echo 'eval "$(rbenv init -)"' >> ~/.bashrc | |
| exec $SHELL -1 | |
| instalando ruby-build como complementação | |
| git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build | |
| Utilizando o rbenv: | |
| 'rbenv install 1.9.3-p327' => instalando o ruby. | |
| 'rbenv global 1.9.3-p327' => apontando o ruby que será o global. | |
| 'rbenv rehash' => é usado para carregar algo no rbenv, por exemplo depois | |
| da instalação do ruby, ou do bundler. | |
| 'rbenv versions' => verifica as versões do ruby instalada. | |
| Instalando o vim: | |
| apti gvim | |
| Instalando o janus, ele é um conjunto de plugins para a utilização do vim. | |
| Para instalar é só executar o script do link abaixo. | |
| https://github.com/carlhuda/janus/blob/master/bootstrap.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment