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


Amir Tamim
Amir Tamim
8,597 Points

I am having difficulty with the workspaces.

Hello, I am having difficulty with the workspaces. Currently doing a Ruby tutorial. I created a file named hello.rb and wrote 'puts "Hello World!"' and then went down into the console and typed in "ruby hello.rb" It will not print Hello World, please help.

1 Answer

Ari Misha
Ari Misha
19,323 Points

Hiya there! You're facin' this issue coz your code has bugs. You dont have to wrap puts "hello world!" around quotes. Also only use double quotes when you're doing string interpolation. Otherwise stick to single quotes. I hope it helped. if it didnt just post back.

Peace (: