---
name: "erb1.9.1"
section: "1"
platform: "linux"
package: "ruby1.9.1"
version: "1.9.3.194-8.1+deb7u5"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/erb1.9.1"
---

# erb1.9.1(1)

an embedded Ruby language interpreter

## NAME

erb - an embedded Ruby language interpreter

## SYNOPSIS

erb1.9.1 \[switches\] \[inputfile\]

## DESCRIPTION

erb interprets a Ruby code embedded text file. For example, erb enables you to embed a Ruby code to a HTML file. A Ruby block starts with \`\<%' and ends with \`%\>'. erb replaces the block with its output. If \`\<%' is followed by \`=', eRuby replaces the block with a value of the block. If \`\<%' is followed by \`#', the block is ignored as a comment.

## OPTIONS

- **-x**

  print ruby script

- **-n**

  print ruby script with line number

- **-v**

  enables verbose mode

- **-d**

  set debugging flags (set $DEBUG to true)

- **-r library**

  load a library

- **-K kcode**

  specifies KANJI code-set (euc or sjis) or UTF-8 (utf8)

- **-S safe\_level**

  set $SAFE (0..4)

- **-T trim\_mode**

  specify trim\_mode (0..2)

- **-P**

  disregard the lin which starts in "%"

## SEE ALSO

[eruby(1)](/eruby/1.md)

## AUTHOR

This document stands on [eruby(1)](/eruby/1.md) which is written by Shugo Maeda \<shugo@ruby-lang.org\>.
