---
title: Ruby
weight: 1
---

```text
sudo /usr/bin/gem uninstall -aIx

brew install ruby
gem install bundler
```

## Directory Structure

```text
.git
.gitignore
.yardoc
.yardopts
AUTHORS
CREDITS
Gemfile
README -> README.rst
README.rst
Rakefile
UNLICENSE
VERSION
bin/
doc/
etc/
lib/
spec/
foobar.gemspec
```

## Miscellaneous

- `main(*ARGV) if __FILE__ == $0`
- Use `%w[...]` instead of `%w(...)`.
