Files
oam/knowledge base/ruby.md
2025-05-07 18:31:02 +02:00

76 lines
1007 B
Markdown

# Ruby
> TODO
Intro
<!-- Remove this line to uncomment if used
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
<details>
<summary>Setup</summary>
```sh
apt install 'ruby'
brew install 'ruby'
SSL_CERT_FILE='path/to/ssl.cert'
```
</details>
<details>
<summary>Usage</summary>
```sh
# Check file syntax.
# Does *not* run the code.
ruby -c '/etc/gitlab/gitlab.rb'
# Create ruby gems from code.
gem build
# Unpack gems into code.
gem unpack 'logstash-filter-custom-0.1.2.gem'
```
</details>
<!-- Uncomment if used
<details>
<summary>Real world use cases</summary>
```sh
```
</details>
-->
## Further readings
- [Website]
### Sources
- [Documentation]
<!--
Reference
═╬═Time══
-->
<!-- In-article sections -->
<!-- Knowledge base -->
<!-- Files -->
<!-- Upstream -->
[documentation]: https://docs.ruby-lang.org/en/master/
[website]: https://www.ruby-lang.org/en/
<!-- Others -->