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!

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


Alid Castano
Alid Castano
3,775 Points

Ruby v4 gemfile :test configurations

In the Set up git and add gems video (of the ruby on rails track), it says to set it up the bottom part of the gemfile as shown below.

group :development, :test do gem 'rspec-rails', '~> 2.0' end

group :test do gem 'capybara', '~> 2.1.0' end

The default setup, however, uses different gems, as shown below:

group :development, :test do gem 'byebug' end

group :development do gem 'web-console', '~> 2.0' gem 'spring' end

The default configuration of the tutorial did not seem to have those defaults and did not provide any explanation for how or why to replace them .

So are we suppose to switch them over the default configuration? How come? Just want to make sure I don't make any changes I don't understand that could cause bugs long term. Thanks.