bundle install時に使用するportを指定したい
解決
command_socksify をインストールして行う
GitHub - tkeo/command_socksify
もっと詳細に設定したい
configに追記
~/.ssh/config に下記のように設定して、フォワーディングしているポートを指定する
Host proxy HostName example.com Port 10000 ServerAliveInterval 600 TCPKeepAlive yes IdentitiesOnly yes DynamicForward 127.0.0.1:10080 IdentityFile ~/.ssh/id_rsa sshフォワードを実行
$ ssh proxy 別のターミナルにて
$ csocksify -g bundler -p 10080 bundle install This post is licensed under CC BY 4.0 by the author.