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 trialAnders Lund
3,061 Pointsruby on rails
when i got like a file in my terminal and I want to open it in sublime 2, how do i do that? tnx!
3 Answers
Laura Cressman
12,548 PointsI thought it was "subl file.rb", from the videos, but I'm struggling to get that to work for me too :/
Kevin Hackett
10,441 PointsHi,
Yes, the command line tool is "subl" followed by the file path you wish to open.
However, you may need to carry out the steps outlined in the Setup section of this page in order for this keyword to work:
David Moore
13,916 PointsAs as alternative, you can browse to the file in Sublime's File->Open dialog and open it that way.