"Foo" // string
'F' // CharINSTRUCÃO OFICIAL: https://docs.microsoft.com/pt-br/windows/wsl/install-win10
Em 2016, a Microsoft anunciou a possibilidade de rodar o Linux dentro do Windows 10 como um subsistema e o nome a isto foi dado de WSL ou Windows Subsystem for Linux.
O acesso ao sistema de arquivos no Windows 10 pelo Linux era simples e rápido, porém não tinhamos uma execução completa do kernel do Linux e outros artefatos nativos e isto impossibilitava a execução de várias tarefas no Linux, uma delas é o Docker.
Em 2019, a Microsoft anunciou o WSL2, com uma dinâmica aprimorada em relação a 1ª versão:
O guia foi atualizado para este link: https://github.com/codeedu/wsl2-docker-quickstart
All code is available in example app - https://github.com/maxivak/webpacker-rails-example-app
UPDATE (Fall 2020): This gist is an updated version to the Windows 10 Fall Creators Update - Installing Node.js on Windows Subsystem for Linux (WSL) guide, I usually just keep here notes, configuration or short guides for personal use, it was nice to know it also helps other ppl, I hope this one too.
Windows updated windows subsystem for linux to version 2, as the F.A.Q stated you can still use WSL version 1 side by side with version 2. I'm not sure about existing WSL machines surviving the upgrade process, but as always backup and 🤞. NOTE: WSL version 1 is not replace/deprecated, and there ar
| Retry count | Retry Time | Total Cumulative Time | Total Cumulative Days | |
|---|---|---|---|---|
| 0 | 0:00:00 | 0:00:00 | 0.0 | |
| 1 | 0:00:16 | 0:00:16 | 0.0 | |
| 2 | 0:00:31 | 0:00:47 | 0.0 | |
| 3 | 0:01:36 | 0:02:23 | 0.0 | |
| 4 | 0:04:31 | 0:06:54 | 0.0 | |
| 5 | 0:10:40 | 0:17:34 | 0.0 | |
| 6 | 0:21:51 | 0:39:25 | 0.0 | |
| 7 | 0:40:16 | 1:19:41 | 0.1 | |
| 8 | 1:08:31 | 2:28:12 | 0.1 |
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # This skeleton also assumes you're using the following gems: | |
| # | |
| # rspec-rails: https://github.com/rspec/rspec-rails |