From ed43a36e9df8d25584fdcbed4e233e4ff77f4f35 Mon Sep 17 00:00:00 2001 From: Luke Barratt Date: Mon, 31 Mar 2014 00:11:32 +0100 Subject: [PATCH] Add exceptional for better error tracking in production --- .env.example | 2 ++ .gitignore | 1 - Gemfile | 10 ++++++---- Gemfile.lock | 7 +++++-- config/exceptional.yml | 1 + 5 files changed, 14 insertions(+), 7 deletions(-) create mode 100644 config/exceptional.yml diff --git a/.env.example b/.env.example index 7b64db4..d390356 100644 --- a/.env.example +++ b/.env.example @@ -16,4 +16,6 @@ MYSQL_CONNECTION_POOL=8 NEW_RELIC_APP_NAME=ENSL NEW_RELIC_LICENSE_KEY= +EXCEPTIONAL_API_KEY= + GOOGLE_CALENDAR_ID= diff --git a/.gitignore b/.gitignore index a86c937..2e9596d 100644 --- a/.gitignore +++ b/.gitignore @@ -16,7 +16,6 @@ # Assets /public/system/* -/public/files /public/files/* /public/local diff --git a/Gemfile b/Gemfile index b22e428..e4ced57 100644 --- a/Gemfile +++ b/Gemfile @@ -7,15 +7,12 @@ gem 'rails', '~> 3.2.17' gem 'mysql2', '~> 0.3.15' gem 'dalli', '~> 2.7.0' +gem 'exceptional', '~> 2.0.33' gem 'oj', '~> 2.5.5' -gem 'jquery-rails', '~> 2.0.2' -gem 'sass-rails', '~> 3.2.5' -gem 'coffee-rails', '~> 3.2.2' gem 'gruff', '~> 0.3.6' gem 'nokogiri', '~> 1.6.1' gem 'bbcoder', '~> 1.0.1' gem 'sanitize', '~> 2.1.0' -gem 'tinymce-rails', '~> 3.5.4.1' gem 'carrierwave', '~> 0.10.0' gem 'bluecloth', '~> 2.2.0' gem 'therubyracer', '~> 0.12.1' @@ -25,6 +22,11 @@ gem 'dynamic_form', '~> 1.1.4' gem 'country_code_select', '~> 1.0.1' gem 'rmagick', '~> 2.13.2', require: false +gem 'tinymce-rails', '~> 3.5.9' +gem 'jquery-rails', '~> 2.0.2' +gem 'sass-rails', '~> 3.2.5' +gem 'coffee-rails', '~> 3.2.2' + group :assets do gem 'uglifier', '~> 2.5.0' end diff --git a/Gemfile.lock b/Gemfile.lock index 704edbd..66339d2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -91,6 +91,8 @@ GEM dotenv (= 0.10.0) dynamic_form (1.1.4) erubis (2.7.0) + exceptional (2.0.33) + rack execjs (1.4.0) multi_json (~> 1.0) factory_girl (4.4.0) @@ -220,7 +222,7 @@ GEM thor (0.18.1) tilt (1.4.1) tins (1.0.1) - tinymce-rails (3.5.4.1) + tinymce-rails (3.5.9) railties (>= 3.1.1) treetop (1.4.15) polyglot @@ -262,6 +264,7 @@ DEPENDENCIES database_cleaner (~> 1.2.0) dotenv-rails (~> 0.10.0) dynamic_form (~> 1.1.4) + exceptional (~> 2.0.33) factory_girl_rails (~> 4.4.1) gruff (~> 0.3.6) jquery-rails (~> 2.0.2) @@ -280,7 +283,7 @@ DEPENDENCIES selenium-webdriver (~> 2.41.0) simplecov (~> 0.7.1) therubyracer (~> 0.12.1) - tinymce-rails (~> 3.5.4.1) + tinymce-rails (~> 3.5.9) uglifier (~> 2.5.0) unicorn (~> 4.8.2) will_paginate (~> 3.0.5) diff --git a/config/exceptional.yml b/config/exceptional.yml new file mode 100644 index 0000000..ebf77a5 --- /dev/null +++ b/config/exceptional.yml @@ -0,0 +1 @@ +api-key: <%= ENV['EXCEPTIONAL_API_KEY'] %>