summary refs log tree commit homepage
path: root/Sandbox
blob: 63c44c44f2ec0b78c30d233056c5a7ddf7ae4d53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
= Tips for using \Rainbows! with Sandbox installation tools

Most {tips for unicorn}[https://bogomips.org/unicorn/Sandbox.html]
for Bundler and Isolate apply to \Rainbows! as well.

== TLDR (Bundler)

You need to add "rainbows" to your Gemfile for Bundler and start
\Rainbows! with:

	bundle exec rainbows ...

== TLDR (Isolate)

Isolate "rainbows" and execute the "rainbows" launcher in your isolated
GEM_PATH:

	$APP_ROOT/tmp/ruby-1.9/bin/rainbows ...

== Explanation

Due to the variety of potential dependencies, \Rainbows! lazy loads many
of its internals, often after the application itself is loaded.  This
results in more potential to interact badly with sandbox tools that
modify the gem environment.