I am trying to install Rails onto a new computer, running OS X El
Capitan.
I run
rbenv install 2.3.1
and then it errors out and I get
Downloading ruby-2.3.1.tar.bz2…
/var/folders/tl/8vtvj5l967v6qjh162g3k2c40000gn/T/ruby-build.20160620185954.82857
The Ruby zlib extension was not compiled.CFLAGS= -O3 -Wno-error=shorten-64-to-32
LDFLAGS=-L/Users/BryanSingh/.rbenv/versions/2.3.1/lib
CPPFLAGS=-I/Users/BryanSingh/.rbenv/versions/2.3.1/include
I am lost here. Any Ideas?