Created
June 23, 2018 04:00
-
-
Save icarofreire/a67b3590aaa210d35a56f510274ed131 to your computer and use it in GitHub Desktop.
Instalando o rails no windows.
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
| Instalando rails no windows. | |
| Nota: O comando 'gem' (RubyGem) já é padrão do ruby. | |
| # Baixar o instalador do ruby no site oficial e instalar: | |
| https://rubyinstaller.org/downloads/ | |
| # Checar a instalação: | |
| $ ruby -v | |
| # Digitar no terminal para instalar o rails: | |
| $ gem install rails | |
| # Instalar o SQLite, que é o banco de dados padrão: | |
| https://www.sqlite.org/download.html | |
| Em "Precompiled Binaries for Windows", baixar os arquivos. | |
| E copiar os arquivos 'sqlite.exe' e 'sqlitedll' para dentro da basta 'bin' da instalação do ruby. | |
| exemplo: C:\Ruby\bin | |
| # Checar a instalação: | |
| $ cd C:\Ruby\bin | |
| $ sqlite3 -version | |
| # instalação da biblioteca Ruby, que permite o contato entre ele e o SQLite: | |
| $ gem install sqlite3-ruby | |
| Pronto! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment