From f713d1eac5c1b9229027694f7f196cd833f159d9 Mon Sep 17 00:00:00 2001 From: Nishanth Vijayan Date: Tue, 8 Mar 2016 21:14:44 +0530 Subject: [PATCH] Check installed Bundler version --- Gemfile | 4 +++- Gemfile.lock | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Gemfile b/Gemfile index 3eb7465d..c6cd7a50 100644 --- a/Gemfile +++ b/Gemfile @@ -1,7 +1,9 @@ source 'https://rubygems.org' # rails-assets requires >= 1.8.4 -gem 'bundler', '>= 1.8.4' +if Gem::Version.new(Bundler::VERSION) < Gem::Version.new('1.8.4') + abort "Bundler version >= 1.8.4 is required" +end # as web framework gem 'rails', '~> 4.2' diff --git a/Gemfile.lock b/Gemfile.lock index e8700d76..f9ad33e9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -506,7 +506,6 @@ DEPENDENCIES bootstrap-sass (~> 3.3.4.1) bootstrap-switch-rails (~> 3.0.0) bootstrap3-datetimepicker-rails (~> 3.0.2) - bundler (>= 1.8.4) byebug cancancan capybara