Another Japan in the World

Jun Aruga's blog, who lived in Japan, Singapore, live in Czech Republic. Mainly about IT and travel.

Install Ruby 2.3.3 from source on Mac

Install Ruby 2.3.3 from source on Mac.

Use git to get the source.

$ cd ~/git/ruby

$ git pull --tags

$ git checkout v2_3_3
$ autoconf

$ ./configure --prefix=/usr/local/ruby-2.3.3 \
   --with-openssl-dir=`brew --prefix openssl` 2>&1 \
   | tee -a configure.log

$ make

$ sudo make install

$ /usr/local/ruby-2.3.3/bin/ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [x86_64-darwin13]

Let's see new features in ChangeLog.

$ git diff v2_3_1 v2_3_3 ChangeLog

That's all.

Remove all ads