Patch :before_symlink so the correct RAILS_ENV is set