From 2945e9db2d2c872cefc55f73b853c52bd6dbc649 Mon Sep 17 00:00:00 2001 From: Ryan Bigg Date: Wed, 29 Aug 2012 10:02:53 +0100 Subject: [PATCH] Run sandbox within clean Bundler env Fixes #1895 --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Rakefile b/Rakefile index 5e1df6ac5a7..8ca3d1053f5 100644 --- a/Rakefile +++ b/Rakefile @@ -87,5 +87,7 @@ end desc "Creates a sandbox application for simulating the Spree code in a deployed Rails app" task :sandbox do - exec("lib/sandbox.sh") + Bundler.with_clean_env do + exec("lib/sandbox.sh") + end end