From 51bdb7e854913f6e1f2b8f3930aec954652efb55 Mon Sep 17 00:00:00 2001 From: Alexander Ilyin Date: Fri, 7 May 2021 01:30:51 +0300 Subject: [PATCH] Translate OpenBSD section on Installation page (ru) refs: #2529, #2534 --- ru/documentation/installation/index.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/ru/documentation/installation/index.md b/ru/documentation/installation/index.md index f0fb99399b..1164d840f1 100644 --- a/ru/documentation/installation/index.md +++ b/ru/documentation/installation/index.md @@ -33,6 +33,7 @@ lang: ru * [Gentoo](#portage) * [Arch Linux](#pacman) * [macOS](#homebrew) + * [OpenBSD](#openbsd) * [Solaris, OpenIndiana](#solaris) * [Другие дистрибутивы](#other-systems) * [Установщики](#installers) @@ -138,6 +139,26 @@ $ brew install ruby Это установит последнюю версию Ruby. +### OpenBSD +{: #openbsd} + +OpenBSD, а также его дистрибутив adJ, имеет пакеты для трех +основных версий Ruby. Следующая команда позволяет вам увидеть +доступные версии и установить одну из них: + +{% highlight sh %} +$ doas pkg_add ruby +{% endhighlight %} + +Вы можете установить несколько основных версий одновременно, потому что их +бинарники имеют разные имена (например, `ruby27`, `ruby26`). + +Ветка `HEAD` коллекции портов OpenBSD может иметь +самую последнюю версию Ruby для этой платформы через несколько дней после ее +релиза, смотрите +[директорию lang/ruby в самой последней коллекции портов][openbsd-current-ruby-ports]. + + ### Ruby на Solaris и OpenIndiana {: #solaris} @@ -299,3 +320,4 @@ $ sudo make install [homebrew]: http://brew.sh/ [asdf-vm]: https://asdf-vm.com/ [asdf-ruby]: https://github.com/asdf-vm/asdf-ruby +[openbsd-current-ruby-ports]: https://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/lang/ruby/?only_with_tag=HEAD