mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 09:36:19 -05:00
Update Gemfile
fix for certain bundlers
This commit is contained in:
parent
1c3d4a6d15
commit
0fdac4fc42
1 changed files with 8 additions and 3 deletions
11
Gemfile
11
Gemfile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue