Article · Wikipedia archive · Last revised Jul 12, 2026

Mod ruby

mod_ruby is a module that embeds the Ruby interpreter into the Apache web server to allow Ruby code to execute natively, faster than other CGI methods. Its drawback is that the characteristic sharing of classes among Apache processes is not safe for multiple applications.

Last revised
Jul 12, 2026
Read time
≈ 1 min
Length
127 w
Citations
1
Source
mod_ruby
Stable release
1.3.0 / November 8, 2008 (2008-11-08)
Websitehttp://www.modruby.net
Repository

mod_ruby is a module that embeds the Ruby interpreter into the Apache web server to allow Ruby code to execute natively, faster than other CGI methods. Its drawback is that the characteristic sharing of classes among Apache processes is not safe for multiple applications1 (e.g., multiple Ruby on Rails applications running simultaneously).

There is also the similar mod_mruby for mruby, a lightweight Ruby implementation.

As of at least 2015, the project seems to no longer be under active development.

See also

See also

Notes

Notes

  1. mod_ruby Wiki Archived 2011-08-08 at the Wayback Machine, explaining the security problem of mod_ruby.
External links