Check installed Bundler version

This commit is contained in:
Nishanth Vijayan 2016-03-08 21:14:44 +05:30
parent 34e8dade05
commit f713d1eac5
2 changed files with 3 additions and 2 deletions

View file

@ -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'

View file

@ -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