Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.