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 Ruby Syntax Variables

This is not working: language = "Ruby" description = "awesome" puts language + description

language = "Ruby" description = "awesome"

puts language description

variables.rb
language = "Ruby" 
description = "awesome" 

puts language description

1 Answer

Travis Batts
Travis Batts
4,031 Points

Add a comma to your puts statement. Like this: puts language, description.

Caleb Kleveter
Caleb Kleveter
Treehouse Moderator 37,862 Points

Hi Travis. I just wanted to let you know I change you comment to an answer. This allows it to be upvoted an marked as best.

Thanks!

Jay McGavren
Jay McGavren
Treehouse Teacher

Lot of people seem to be getting confused by this. I just made a small tweak to the challenge task description: "...Then make a single call to puts and pass it two arguments, separated by a comma: the language and description variables."