From 57674651045099e60b55ba671ad294a3585c1677 Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Fri, 15 Feb 2013 15:29:49 +1100 Subject: [PATCH] moving mini profiler too far up breaks its ability to profile --- Gemfile | 5 ++++- Gemfile.lock | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index a56eb216a12..f884e0966fd 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,6 @@ source 'https://rubygems.org' gem 'active_model_serializers', git: 'git://github.com/rails-api/active_model_serializers.git' gem 'ember-rails', git: 'git://github.com/emberjs/ember-rails.git' # so we get the pre version -gem 'rack-mini-profiler', git: 'git://github.com/SamSaffron/MiniProfiler' gem 'vestal_versions', git: 'git://github.com/zhangyuan/vestal_versions' gem 'message_bus', path: 'vendor/gems/message_bus' @@ -98,3 +97,7 @@ group :development do gem 'pry-rails' end +# IMPORTANT: mini profiler monkey patches, so it better be required last +# If you want to amend mini profiler to do the monkey patches in the railstie +# we are open to it. +gem 'rack-mini-profiler', git: 'git://github.com/SamSaffron/MiniProfiler' diff --git a/Gemfile.lock b/Gemfile.lock index 96387842327..9e430cde5ff 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,6 +1,6 @@ GIT remote: git://github.com/SamSaffron/MiniProfiler - revision: 8fa1391e1eda809d4e7d0f2c307ac8cea11ef540 + revision: d149f34fcdb64b312f70b1586d7ead822cef9789 specs: rack-mini-profiler (0.1.23) rack (>= 1.1.3)