From d3b8ec36d03bb281a9f08499e1f8d1c2d46f077b Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 10 Feb 2014 15:34:08 +1100 Subject: [PATCH] warning if running an old version of bundler --- Gemfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 018b5b37005..db5f13de315 100644 --- a/Gemfile +++ b/Gemfile @@ -196,7 +196,11 @@ gem 'lru_redux' gem 'flamegraph', require: false gem 'rack-mini-profiler', require: false -gem 'memory_profiler', require: false, platform: :mri_21 +begin + gem 'memory_profiler', require: false, platform: :mri_21 +rescue + puts "WARNING: you are running an old version of bundler, please run 'gem update bundler'" +end # used for caching, optional gem 'rack-cors', require: false