Skip to content

Complete en/documentation/installation with ruby packages for OpenBSD #2529

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions en/documentation/installation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Here are available installation methods:
* [Arch Linux](#pacman)
* [macOS](#homebrew)
* [FreeBSD](#freebsd)
* [OpenBSD](#openbsd)
* [OpenIndiana](#openindiana)
* [Other Distributions](#other-systems)
* [Installers](#installers)
Expand Down Expand Up @@ -180,6 +181,25 @@ to customize the build configuration options.
More information about Ruby and its surrounding ecosystem on FreeBSD
can be found on the [FreeBSD Ruby Project website][freebsd-ruby].

### OpenBSD
{: #openbsd}

OpenBSD as well as its distribution adJ, have packages for the three
major versions of Ruby. The following command allows you to see the
available versions and to install one:

{% highlight sh %}
$ doas pkg_add ruby
{% endhighlight %}

You can install simultanously several major versions, because their binaries
have different names (e.g. ruby27, ruby26, etc).

The `HEAD` branch of the OpenBSD's ports collection could
have for this platform the most recent version of Ruby some days after
it is released.
See [directory lang/ruby in the most recent ports collection][openbsd-current-ruby-ports]


### Ruby on OpenIndiana
{: #openindiana}
Expand Down Expand Up @@ -349,3 +369,4 @@ though, because the installed Ruby won't be managed by any tools.
[wsl]: https://docs.microsoft.com/en-us/windows/wsl/about
[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