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!

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 Building Web Apps with Sinatra Your First Sinatra App Your First App

Why are they skipping things in this course? Where did he get the editor from? I'm not seeing that in the ruby gems co

Is there an editor that comes installed with ruby? I have the command prompt and nothing else.

3 Answers

Peter Buckwalter
Peter Buckwalter
6,846 Points

If by editor you mean Graphical User Interface (GUI) like Wordpress has then you won't find one. Ruby is a programming language and Ruby of Rails is a framework that helps us develop web applications using the Ruby language.

To interact with Ruby and Ruby on Rails we write code in a text editor like Atom(Free), Sublime Text(Paid) or Visual Studio Code(Free). Personally, I like Visual Studio Code.

Check out this link to get started with installing Ruby and Ruby on Rails. https://installrails.com

You can get VS Code here https://code.visualstudio.com. The VS Code website has plenty of documentation to help you get it setup for Ruby and RoR and they also have heaps of extensions for code highlighting, lint, and Git. What is nice about VS Code is the way it integrates with the Terminal on mac https://code.visualstudio.com/docs/setup/mac.

It's also worth searching for "setting VS Code for Ruby development" on YouTube.

There are several courses on TreeHouse to get familiar with the Console or Terminal.

I hope this helps you get started. I found that learning Ruby and to code in general can be a little bit like finding the bathroom in the middle of the night with the lights off. You kinda know where to go, but you still stumble around a little at first.

Just keep going and things will become clear as you go along.

Peter Buckwalter
Peter Buckwalter
6,846 Points

By the way you may want to have a look at the Ruby Development Track and do some of the earlier courses.


Thanks Peter, believe I have this one figured out. I thought he was using an editor specific to Ruby, didn't realize I could use the same one I use for HTML, CSS, etc.

Peter Buckwalter
Peter Buckwalter
6,846 Points

Hey Anthony,

Thats right! You can pretty much write any code in a standard text editor. Running the code is another story, but you can get into that on a language by language basis.

Cheers and happy learning,