Rails has three modes:  production, development, and testing.  An 
example: when you are developing an app, you may want to show the values 
of certain variables on each page, i.e. the views that are displayed. 
Looking at the values of those variables can help you understand where 
any errors might be occurring.  In production mode, you obviously don't 
want values of variables being displayed a the bottom of your web page.

In your example, one gem is included in development mode(and presumably 
production mode), and another gem is included for testing mode only.  So 
you could infer that the gem included for testing, is a gem that 
provides facilities for writing tests.  It should be obvious that tests 
don't execute in production mode--that would slow down your app.

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to