On Arch Linux, the default ruby
package does not, for some reason, contain the erb
class (or module/whatever it is called in ruby).
It is instead in the separate package ruby-erb
.
I believe the Arch install guide in the wiki should at least mention this, in order to avoid any issues one might have (as I did).
This was also mentioned here: rbenv/ruby-build#2518