Skip to content

Commit 8535e03

Browse files
attilagyorffystomar
authored andcommitted
Document Ruby install on FreeBSD (en) (#1534)
1 parent d5eb31b commit 8535e03

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

en/documentation/installation/index.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ for different needs and platforms.
3333
* [Gentoo](#portage)
3434
* [Arch Linux](#pacman)
3535
* [OS X](#homebrew)
36+
* [FreeBSD](#freebsd)
3637
* [Solaris, OpenIndiana](#solaris)
3738
* [Other Distributions](#other-systems)
3839
* [Installers](#installers)
@@ -134,6 +135,22 @@ $ brew install ruby
134135

135136
This should install the latest Ruby version.
136137

138+
### FreeBSD
139+
{: #freebsd}
140+
141+
FreeBSD offers both pre-packaged and source-based methods to install Ruby.
142+
Prebuilt packages can be installed via the pkg tool:
143+
144+
{% highlight sh %}
145+
$ pkg install ruby
146+
{% endhighlight %}
147+
148+
A source-based method can be used to install Ruby using the
149+
[Ports Collection][freebsd-ports-collection]. This is useful if you want
150+
to customize the build configuration options.
151+
152+
More information about Ruby and its surrounding ecosystem on FreeBSD
153+
can be found on the [FreeBSD Ruby Project website][freebsd-ruby].
137154

138155
### Ruby on Solaris and OpenIndiana
139156
{: #solaris}
@@ -294,4 +311,6 @@ though, because the installed Ruby won't be managed by any tools.
294311
[openindiana]: http://openindiana.org/
295312
[opensolaris-pkg]: http://opensolaris.org/os/project/pkg/
296313
[gentoo-ruby]: http://www.gentoo.org/proj/en/prog_lang/ruby/
314+
[freebsd-ruby]: https://wiki.freebsd.org/Ruby
315+
[freebsd-ports-collection]: https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html
297316
[homebrew]: http://brew.sh/

0 commit comments

Comments
 (0)