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.

Sidney Eubanks
3,864 PointsWhy does he put the should-matchers gem inside of the test group?
Can you put that gem anywhere? or should gems be put in specific places? I am mostly asking for future use. Like if I see a gem on Git that I want to use, if I were to install it that way (instead of in the terminal) what is the general rule of thumb for where to put the gem in the gem file? Thanks
1 Answer

James Simshaw
28,738 PointsHello,
From what I have read, the common approach is to alphabetize your gems relative to the group that gem is in.
James Simshaw
28,738 PointsJames Simshaw
28,738 PointsSorry, I forgot about the title question. The shuld-matchers gem is placed in the test group because it is only being used while testing and not for development or production.