Poll: Was this article helpful for you?
You do not have permission to vote in this poll.
Yes
100.00%
1 100.00%
No
0%
0 0%
Total 1 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Getting started with Ruby 3
#1
Actually there are several ways to get started with Ruby 3.

1. Testing Ruby online

You can type some Ruby code and run it online here.
Version 2.5.1. isn't the latest Ruby version,
but since it's online you don't need to install anything
and it runs on all kinds of devices.

2. Testing Ruby with an IDE

To test Ruby with an IDE you should download the latest Ruby version here.
Please follow the installation instructions to install Ruby either on Windows, Mac or Linux.
Once Ruby is installed correctly you can download a small, lightweight and free IDE here.
Now click on "File" > "New" > file.rb to create a new Ruby file.
You can delete the automatically generated Ruby code and add your own.
Then save it i.e. as untitled.rb and click on the "execute" button to run it.

This way you should have the latest Ruby version (currently 3.0.0),
you can use syntax highlighting, code completion or other cool things,
but you'll have to download and install it on your device.

3. Testing Ruby in the interactive ruby shell

If you have decided for step 2 you can also run Ruby codes in the interactive ruby shell that was installed on your device.
On Windows click on "Click here to search" and type "Interactive Ruby" there.
For Mac or Linux please read the Ruby documentation on how to open it there instead.
Now you can directly write some code and execute it without saving it first.
This way you will also have the latest Ruby version (currently 3.0.0).
It also requires an installation on your device.
There is no syntax highlighting, code completion etc.
Also follow me on Youtube for videos about video games:
https://www.youtube.com/channel/UCxfkGVU...2mQ/videos
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Everything you need to know about Ruby Qomplainerz 0 856 07-25-2023, 09:53 AM
Last Post: Qomplainerz
  Additions in Ruby Qomplainerz 0 1,715 03-14-2021, 10:13 AM
Last Post: Qomplainerz
  Subtractions in Ruby Qomplainerz 0 1,637 03-08-2021, 11:42 AM
Last Post: Qomplainerz
  Predecessor in Ruby Qomplainerz 0 1,757 02-28-2021, 10:31 AM
Last Post: Qomplainerz
  Successor in Ruby Qomplainerz 0 1,713 02-28-2021, 10:29 AM
Last Post: Qomplainerz
  Least common multiple in Ruby Qomplainerz 0 1,815 02-28-2021, 09:11 AM
Last Post: Qomplainerz
  Floor and precisions in Ruby Qomplainerz 0 1,767 02-28-2021, 08:40 AM
Last Post: Qomplainerz
  Ceil and precisions in Ruby Qomplainerz 0 1,779 02-28-2021, 08:35 AM
Last Post: Qomplainerz
  Quotients and remainders in Ruby Qomplainerz 0 2,008 02-27-2021, 08:51 AM
Last Post: Qomplainerz
  Getting the currently installed Ruby version Qomplainerz 0 1,771 02-26-2021, 08:23 AM
Last Post: Qomplainerz

Forum Jump:


Users browsing this thread: 8 Guest(s)