Problem
You want to install rbenv, but when you are trying to clone the code with:
1 |
git clone https://github.com/rbenv/rbenv.git ~/.rbenv |
you get the following error:
1 |
fatal: unable to access 'https://github.com/rbenv/rbenv.git/': SSL received a record that exceeded the maximum permissible length. |
Solution
If you are behind a proxy server make sure that you add your proxy server details in your ~/.bash_profile and source the file afterwards.
So first add the details of your proxy like:
1 2 |
export http_proxy=http://xxx.xxx.xxx.xxx:8080 export https_proxy=https://xxx.xxx.xxx.xxx:8080 |
And finally source the file before running the installation again:
1 |
source ~/.bash_profile |