Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
JRuby Sandbox
=============

The JRuby sandbox is a reimplementation of _why's freaky freaky sandbox
The JRuby sandbox is a reimplementation of \_why's freaky freaky sandbox
in JRuby, and is heavily based on [javasand][1] by Ola Bini, but updated
for JRuby 1.6.

## Installation

gem install jruby_sandbox

## Prerequisites

This gem requires JRuby 1.6. As of the time of this writing, it is known to
Expand Down Expand Up @@ -40,6 +44,8 @@ core libraries. Note that this is a direct binding to `Kernel#require`,
so it will only load ruby stdlib libraries (i.e. no rubygems support
yet).

Note that all code in the sandbox will be interpreted in Ruby 1.9 mode.

## Sandbox::Safe usage

Sandbox::Safe exposes an `#activate!` method which will lock down the sandbox, removing unsafe methods. Before calling `#activate!`, Sandbox::Safe is the same as Sandbox::Full.
Expand Down