From 6727d8ab1b2e841f7153bda071ab3b800bbce089 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 20 Apr 2010 20:48:24 +0000 Subject: KNOWN_ISSUES: additional note for Isolate usage --- KNOWN_ISSUES | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/KNOWN_ISSUES b/KNOWN_ISSUES index 83a450d..864b096 100644 --- a/KNOWN_ISSUES +++ b/KNOWN_ISSUES @@ -44,6 +44,18 @@ acceptable solution. Those issues are documented here. where the unicorn gem is installed (e.g. /usr/lib/ruby/gems/1.8/gems/unicorn-VERSION/lib) + With current versions of isolate, it is also recommended that you + disable it with the before_exec hook prevent the PATH and + RUBYOPT environment variable modifications from propagating between + upgrades in your Unicorn config file: + + before_exec do + Isolate.disable + end + + Future versions (unreleased as of 2010.04.20) of isolate will not + require this as environment variable modifications will be idempotent. + * WONTFIX: code reloading and restarts with Sinatra 0.3.x (and likely older versions) apps is broken. The workaround is to force production mode to disable code reloading as well as disabling "run" in your -- cgit v1.2.3-24-ge0c7