Skip to content
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

Merged
merged 12 commits into from
Nov 22, 2014

Conversation

tkwidmer
Copy link
Contributor

This will give us more inside to bugs that we hit in production.

@@ -0,0 +1,3 @@
Bugsnag.configure do |config|
config.api_key = ENV['BUGSNAG_API_TOKEN']

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'])

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'

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"

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]

@tkwidmer
Copy link
Contributor Author

I'm going to do a release before merging this in.

@tkwidmer tkwidmer changed the title add open source bugsnag to RefugeRestrooms Upgrade to Ruby 2.1.1 and Rails 4.1.6 // Add Bugsnag support Nov 18, 2014
@cllns
Copy link
Contributor

cllns commented Nov 18, 2014

Woo hoo! 👍

Conflicts:
	Gemfile
	Gemfile.lock
	config/application.rb
@tkwidmer
Copy link
Contributor Author

going to merge this in.

tkwidmer added a commit that referenced this pull request Nov 22, 2014
Upgrade to Ruby 2.1.1 and Rails 4.1.6 // Add Bugsnag support
@tkwidmer tkwidmer merged commit 534be6d into develop Nov 22, 2014
@gnarf gnarf mentioned this pull request Nov 22, 2014
@tkwidmer tkwidmer mentioned this pull request Jan 31, 2015
@tkwidmer tkwidmer deleted the feature/add-bugsnag branch February 23, 2015 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants