Browse files

Sandbox: update doc for latest Bundler versions

Bundler 1.0.x is much improved :)
  • Loading branch information...
1 parent f848f63 commit 3a76dc40dda91a3804276fcc73260bb2a529c034 Eric Wong committed Apr 30, 2011
Showing with 13 additions and 4 deletions.
  1. +13 −4 Sandbox
17 Sandbox
@@ -3,7 +3,7 @@
Since unicorn includes executables and is usually used to start a Ruby
process, there are certain caveats to using it with tools that sandbox
RubyGems installations such as
-{Bundler}[] or
+{Bundler}[] or
== General deployment
@@ -45,11 +45,20 @@ This is no longer be an issue as of bundler 0.9.17
+=== BUNDLE_GEMFILE for Capistrano users
+You may need to set or reset the BUNDLE_GEMFILE environment variable in
+the before_exec hook:
+ before_exec do |server|
+ ENV["BUNDLE_GEMFILE"] = "/path/to/app/current/Gemfile"
+ end
=== Other ENV pollution issues
-You may need to set or reset BUNDLE_GEMFILE, GEM_HOME, GEM_PATH and PATH
-environment variables in the before_exec hook as illustrated by
+If you're using an older Bundler version (0.9.x), you may need to set or
+reset GEM_HOME, GEM_PATH and PATH environment variables in the
+before_exec hook as illustrated by
== Isolate

0 comments on commit 3a76dc4

Please sign in to comment.