Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Ruby Ruby Basics (Retired) Ruby Strings String Documentation

Can someone recommend a good ruby interpreter?

I'm obviously quite new to ruby and programming in general, but I was wondering what my options were. Sure, there is workspaces, but I was hoping to find an app for mac where I could practice and run my code? Thanks for your help.

4 Answers

Brandon Mowat
Brandon Mowat
8,186 Points

CodeRunner is good for what you're looking for. I'm sure there's plugins for something like intelliJ though.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

Just install Ruby on your machine and you will get the IRB - a console interpreter for Ruby. If you're on a Mac, just run irb in your console.

Brandon Mowat
Brandon Mowat
8,186 Points

I think what Arnaud is looking for is something like a sandbox. Something that he can debug in and will help him learn to program more easily.

Maciej Czuchnowski
Maciej Czuchnowski
36,441 Points

But irb is a sandbox where you can test and debug your code...it's an interpreter.

Thanks guys, I'll try both methods indeed.

By the way, any good mobile interpreters for iPad, to practice running my code on the go?

I know this is a tad late posting 4 months after the question but the online irb interpreter at http://www.tutorialspoint.com/ruby_terminal_online.php works great if I browse to it on safari on my iPad. (And, I'm using an old as dirt iPad from the year iPad first hit the market).

So, if you have internet access, that site's a good alternative for a repl on the go.