What Is Ruby For Mac



  1. Ruby Woo Matte
  2. Ruby Mac Apples
  3. Ruby Mac Os
  4. What Is Ruby On Mac
Ruby

Are you not sure which Ruby version you are using right now? Wondering how to check it? Say no more. Here are two simple ways to check for it.

In irb

Ruby Basics, Numbers, and Strings. To get started with Ruby, you really only need to install Ruby itself and use a free code editor (not a word processor!). Notepad, Atom, TextWrangler, and others are all good code editor choices. You’ll also commonly use a terminal or console program (free with all the common operating systems). Ruby on Rails, or Rails, is a server-side web application framework written in Ruby under the MIT License. Rails is a model–view–controller (MVC) framework, providing default structures for a database, a web service, and web pages.

Run irb and type:

Mac

From command line

Ruby mac apples

Just type ruby -v

Ruby Woo Matte

In RVM

Are you using RVM?

What Is Ruby For Mac

Run rvm current and get the answer

In rbenv

Ruby Mac Apples

Are you using rbenv? Just run rbenv version

Using which

Ruby Mac Os

Do you want to know where your ruby binary is installed? It can also sometimes reveal the version you are using as it is usually part of directory structure. Just run which ruby.

What Is Ruby On Mac

For

Using gem env

If you want to know even more about your current ruby setup, there is a command for that as well!