Skip to content
Browse files

configuring development environments

Added information on configuring development environments.  

I was recently looking for this information and would have found it helpful if it was in the readme.
  • Loading branch information...
1 parent d01cc2e commit ffadfec793a6d2bec728aea6073564e26eff9c44 @jfriedlaender committed Dec 22, 2012
Showing with 5 additions and 2 deletions.
  1. +5 −2 README.md
View
7 README.md
@@ -31,6 +31,10 @@ That's it!
The generator creates a file under `config/initializers/airbrake.rb` configuring Airbrake with your API key. This file should be checked into your version control system so that it is deployed to your staging and production environments.
+The default behaviour of the gem is to only operate in rails environments that are NOT **development**, **test** & **cucumber**. You can change this by adding this configuration to the airbrake.rb initializer like this:
+
+ config.development_environments = ["development", "test", "cucumber", "custom"]
+
### Rails 2.x
Add the airbrake gem to your app. In config/environment.rb:
@@ -52,7 +56,6 @@ every server you deploy to has the gem installed or your application won't start
The generator creates a file under `config/initializers/airbrake.rb` configuring Airbrake with your API key. This file should be checked into your version control system so that it is deployed to your staging and production environments.
-
Supported Rails versions
------------------------
@@ -85,4 +88,4 @@ The names and logos for Airbrake, thoughtbot are trademarks of their respective
License
-------
-Airbrake is Copyright © 2008-2012 Airbrake.
+Airbrake is Copyright © 2008-2012 Airbrake.

0 comments on commit ffadfec

Please sign in to comment.
Something went wrong with that request. Please try again.