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 Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Windows

Kang-Kyu Lee
Kang-Kyu Lee
52,045 Points

"subl" in vm command line?

Hi I've been wondering, I wanted to ask, "Can I use sublime text command line shortcut within this virtual machine on Windows?"

I simply couldn't find it. Would anybody let us know? I tried installing Sublime Text x86 Ubuntu version on vm (not opening) and, installing one in the shared folder..

Kang-Kyu Lee
Kang-Kyu Lee
52,045 Points

(subl:2091): Gtk-WARNING **: cannot open display:

1 Answer

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey kang kyu lee I'm not sure of a way to use the "subl" command inside of the VM. The reason the subl command works on the local machine is that it can send messages to the program on your local machine. The VM is actually a completely separate computer inside of your own computer. As a workaround, you can run subl inside of a command prompt in your projects directory which is synced to the VM.

Kang-Kyu Lee
Kang-Kyu Lee
52,045 Points

Thank you teacher Jason, for responding this so quickly! And...And I want to say I totally got into this fantastic world of Ruby, special thanks to your guidance at Treehouse. I am a big fan of yours, since "I am Ruby." video (and Odot is my most favorite.)