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 Build a Todo List Application with Rails 4 Build a Todo List Application with Rails 4 Viewing Todo Items: Part 1

bin/ vs no bin/ in terminal ...

wondering why we are told you type /bin before the rake commands and most of this tutorial why can't we just use the standard prompt without starting with /bin?

1 Answer

Because it's a different command without calling /bin/rails

by default it uses your path from ~/.profile but when you are inside your project you have a separate bin directory there and you are actually invoking project's command instead of a <system's> command.

Does it make sense ?

i think so thanks, i've read it's basically to specify and make sure you are running the proper version of ruby if you have several versions installed.