Update Gemfile

fix for certain bundlers
This commit is contained in:
Sam 2015-12-28 22:32:45 +11:00
parent 1c3d4a6d15
commit 0fdac4fc42

11
Gemfile
View file

@ -183,9 +183,14 @@ begin
gem 'stackprof', require: false, platform: [:mri_21, :mri_22, :mri_23] gem 'stackprof', require: false, platform: [:mri_21, :mri_22, :mri_23]
gem 'memory_profiler', require: false, platform: [:mri_21, :mri_22, :mri_23] gem 'memory_profiler', require: false, platform: [:mri_21, :mri_22, :mri_23]
rescue Bundler::GemfileError rescue Bundler::GemfileError
STDERR.puts "You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container." begin
gem 'stackprof', require: false, platform: [:mri_21] STDERR.puts "You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container."
gem 'memory_profiler', require: false, platform: [:mri_21] gem 'stackprof', require: false, platform: [:mri_21, :mri_22]
gem 'memory_profiler', require: false, platform: [:mri_21, :mri_22]
rescue Bundler::GemfileError
gem 'stackprof', require: false, platform: [:mri_21]
gem 'memory_profiler', require: false, platform: [:mri_21]
end
end end
gem 'rmmseg-cpp', require: false gem 'rmmseg-cpp', require: false