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) How Ruby Works The Ruby Programming Language

how do you put the string "hello world!" on the screen

puts and prints doessnt work

2 Answers

puts

Colin Marshall
Colin Marshall
32,861 Points

This is correct. If you already tried puts, maybe you are having the same problem that this guy was only minutes earlier than you: https://teamtreehouse.com/forum/how-do-you-say-hello-world-ive-tried-puts-print-etc-and-it-still-doesnt-work

hes sitting next to me hahah

Usty is sitting next to me saying how he has 40 badges. No one cares.

Colin Marshall
Colin Marshall
32,861 Points

Haha I thought it was a random coincidence.