Exploring Ruby-2.7.0 — Part-One

Tessy Joseph
The MavenHive Blog
Published in
1 min readJun 5, 2019

Installing ruby-2.7.0-preview1 using rbenv

Ruby 2.7.0-preview1 has been released on 30 May 2019. This blog explains how to setup ruby-2.7.0 on your system using rbenv.

Prerequisite

  1. rbenv is a command line tool that lets you switch between multiple versions of ruby. To set up rbenv follow the instructions on this link
  2. ruby-build is a command-line tool that makes it easy to install multiple ruby versions. Follow this guide to install ruby-build as a rbenv plugin.

If you already have rbenv and ruby-build installed , upgrade to your ruby-build to get the latest version

Install ruby-2.7.0-preview1 and switch to 2.7.0-preview

install-ruby-2.7.0-preview1

And now you are ready to code in ruby-2.7.0-preview1. Happy coding

--

--