設定を変更してproductionでyarnを使えるようにすると以下エラーが出ます
bundle exec cap production deploy

     01 yarn install --prefer-offline --production --no-progress
  01 Node version 0.10.46 is not supported, please use Node.js 4.0 or 
higher.
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as         
ban@xxxxxxx: yarn exit status: 1
yarn stdout: Nothing written
yarn stderr: Node version 0.10.46 is not supported, please use 
Node.js 4.0 or higher.


Caused by:
SSHKit::Command::Failed: yarn exit status: 1
yarn stdout: Nothing written
yarn stderr: Node version 0.10.46 is not supported, please use 
Node.js 4.0 or higher.

Tasks: TOP => deploy:updated => yarn:install
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as 
ban@xxxxxxxx: yarn exit status: 1
yarn stdout: Nothing written
yarn stderr: Node version 0.10.46 is not supported, please use Node.js 
4.0 or higher.


** DEPLOY FAILED
** Refer to log/capistrano.log for details. Here are the last 20 
lines:

awsなんでsshで直接入ってyarnをインストールしても同じエラーが出ます。
解決方法ご存知でしたら教えてください

環境は以下の通りです。

$ cat /etc/system-release
Amazon Linux AMI release 2016.09

$ yum --version
3.4.3
Installed: rpm-4.11.2-2.73.amzn1.x86_64 at 2016-09-23 10:00
Built    : Amazon.com, Inc. <http://aws.amazon.com> at 2015-11-16 21:31
Committed: Ben Cressey <bcressey@amazon.com> at 2015-03-25

Installed: yum-3.4.3-137.67.amzn1.noarch at 2016-09-23 10:01
Built    : Amazon.com, Inc. <http://aws.amazon.com> at 2016-09-20 21:41
Committed: Andrew Jorgensen <ajorgens@amazon.com> at 2016-09-12