# Etapa 2

O interpretador Ruby é necessário para executar o GitLab. [Veja os requisitos mínimos do Ruby](/gitlab-no-ubuntu/~/changes/v2SMoF2OR3hlOcgvW1pm/instalacao-e-configuracao-source/introducao.md#software-requirements).

O uso de gerenciadores de versão Ruby, como [`RVM`](https://rvm.io/), [`rbenv`](https://github.com/rbenv/rbenv) or [`chruby`](https://github.com/postmodern/chruby) com o GitLab em produção, freqüentemente leva a problemas difíceis de diagnosticar. Os gerenciadores de versão não são suportados e recomendamos fortemente a todos que sigam as instruções abaixo para usar um sistema Ruby.

As distribuições do Linux geralmente têm versões mais antigas do Ruby disponíveis, portanto, essas instruções foram projetadas para instalar o Ruby a partir do código-fonte oficial.

[Install Ruby](https://www.ruby-lang.org/en/documentation/installation/).

### apt (Debian ou Ubuntu) <a href="#apt" id="apt"></a>

Debian GNU/Linux e Ubuntu usam o gerenciador de pacotes apt. Você pode usar assim:

```sh
sudo apt-get install ruby-full
```

Verificar versão do ruby

```
ruby -v
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://liedsons-organization.gitbook.io/gitlab-no-ubuntu/~/changes/v2SMoF2OR3hlOcgvW1pm/instalacao-e-configuracao-source/etapa-2.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
