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...
>
> -> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.1.tar.bz2
>
> Installing ruby-2.3.1...
>
>
> *BUILD FAILED* (OS X 10.11.4 using ruby-build 20160426)
>
>
> Inspect or clean up the working tree at 
> /var/folders/tl/8vtvj5l967v6qjh162g3k2c40000gn/T/ruby-build.20160620185954.82857
>
> Results logged to 
> /var/folders/tl/8vtvj5l967v6qjh162g3k2c40000gn/T/ruby-build.20160620185954.82857.log
>
>
> Last 10 log lines:
>
> installing capi-docs:         
> /Users/BryanSingh/.rbenv/versions/2.3.1/share/doc/ruby
>
> The Ruby zlib extension was not compiled.
>
> ERROR: Ruby install aborted due to missing extensions
>
> Configure options used:
>
>   --prefix=/Users/BryanSingh/.rbenv/versions/2.3.1
>
>   --with-openssl-dir=/usr/local/opt/openssl
>
>   CC=clang
>
>   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? 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/480e910d-bac2-4154-94e8-a3ce3e5d2a8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to