Eu sou novo no Ubuntu. Eu quero instalar o ruby usando rbenv
( rbenv install 2.2.1
) Mas eu recebo o erro:
BUILD FAILED (Ubuntu 16.04 using ruby-build 20170726-2-g254728e)
Aqui está o script que eu executei:
sudo apt-get update
sudo apt-get upgrade
Instalando o rbenv usando um instalador
sudo apt-get install git-core curl zlib1g-dev build-essential \
libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 \
libxml2-dev libxslt1-dev libcurl4-openssl-dev \
python-software-properties libffi-dev
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 2.2.1
qualquer ajuda será apreciada