-
Notifications
You must be signed in to change notification settings - Fork 260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Ruby 2.1.1 and Rails 4.1.6 // Add Bugsnag support #175
Conversation
@@ -0,0 +1,3 @@ | |||
Bugsnag.configure do |config| | |||
config.api_key = ENV['BUGSNAG_API_TOKEN'] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
|
||
# If on osx and java_exec fails, try this | ||
#ENV['EXECJS_RUNTIME'] = 'JavaScriptCore' | ||
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE']) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
@@ -5,7 +5,7 @@ | |||
# random tokens. Changing this key will render invalid all existing | |||
# confirmation, reset password and unlock tokens in the database. | |||
|
|||
config.secret_key = ENV['DEVISE_SECRET_KEY'] | |||
config.secret_key = ENV['DEVISE_SECRET_KEY'] if Rails.env == 'production' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
@@ -5,7 +5,7 @@ | |||
# random tokens. Changing this key will render invalid all existing | |||
# confirmation, reset password and unlock tokens in the database. | |||
|
|||
config.secret_key = ENV['DEVISE_SECRET_KEY'] | |||
config.secret_key = ENV["DEVISE_SECRET_KEY"] if Rails.env == "production" || Rails.env == "test" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line is too long. [98/80]
I'm going to do a release before merging this in. |
Woo hoo! 👍 |
Conflicts: Gemfile Gemfile.lock config/application.rb
…gerestrooms into feature/add-bugsnag
going to merge this in. |
Upgrade to Ruby 2.1.1 and Rails 4.1.6 // Add Bugsnag support
This will give us more inside to bugs that we hit in production.