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
Terminal/Ruby/Newbie Help!
New user here and loving the content. I've started the programming section, completing deep dive programming and now on the ruby deep dive/Ruby project.
I'm trying to use sublime text 2 as my text editor in the ruby deep dive. The video is asking me to use another text editor called textmate - can I stick with one (I'm not up for buying 2 applications that do the same thing - do they do the same thing?!....)
I started the Ruby project - struggled with using terminal so thought the intro to Ruby deep dive would be a better place to go. I've already used the rubyinstaller that lists a lot of aspects in the ruby deep dive - ruby -v is showing me a version so I'm guessing I don't need to install the aspects in the ruby deep dive?
I've looked onto the sublime text edit site to try and use the code subl instead of mate in the terminal - terminal is not finding the command - I've tried adding it using the code here:http://www.sublimetext.com/docs/2/osx_command_line.html
I put an email into the installer for GIT - does that register me on the site automatically or do i need to sign up on the git site using the details i've put into the installer?
A lot of the posts on other forums are referencing a usr/local/bin folder - is this something I need to create?
(https://gist.github.com/1236170)
Thanks for any replies!
From a newbie
2 Answers
Suleiman Leadbitter
15,805 PointsSublime does what text mate does and more. Just stick with Sublime :)
You should all ready have the bin folder on your Mac.
Other questions not to sure yet.
Paul Dietrich
4,557 PointsIf you're just starting Ruby, I suggest beginning with Build A Simple Ruby On Rails Application (https://teamtreehouse.com/learning-adventures/become-a-web-developer). The first several badges/lessons essentially answer every single question you listed above, and they have you working with both Sublime 2 and the Terminal.
In one of the first videos, they actually guide you step-by-step to installing Sublime, so I find it interesting how this other section that you mention is telling you to use Textmate. It doesn't matter which editor you use, however.
Git is also mentioned in one of the first several badges - I had to register on the site first before addressing it in the Terminal. It makes sense that you would register on the site first before doing anything on the Terminal - the Terminal is really there for pulling and pushing data. As an admin, you can add a new user, but I think that's assuming you've already created an account prior to doing that.
Michael Tonnies
1,769 PointsI went there to start learning this; the builders of this project missed a substantial step when it came to setting up the Ruby application. The project directory is already created and targeted by the terminal. This is essential to building the app through terminal, yet they did not indicate anywhere where to put the directory, how to target it, and how to edit it in the terminal. :(