canvas-lms icon indicating copy to clipboard operation
canvas-lms copied to clipboard

Add dependency the specified version of switchman-inst-jobs in Gemfile

Open mayng0702 opened this issue 3 years ago • 0 comments

Summary:

How to solve the version of switchman-inst-jobs in Gemfile

Steps to reproduce:

  1. cd gems/plugins/academic_benchmark/
  2. nano academic_benchmark.gemspec
  3. Add (spec.add_dependency "switchman-inst-jobs", "4.0.9") line to academic_benchmark.gemspec

Expected behavior:

Add dependency the specified version of switchman-inst-jobs

Actual behavior:

<!--[!] There was an error parsing `Gemfile`: You cannot specify the same gem twice
with different version requirements.
You specified: switchman-inst-jobs (= 4.0.8) and switchman-inst-jobs (= 4.0.9).
Bundler cannot continue.
# from /var/canvas/Gemfile.d/../gems/plugins/analytics/Gemfile.d/app.rb:26
# -------------------------------------------
# require File.expand_path("config/canvas_rails_switcher", __dir__)
>
# Dir.glob(File.join(File.dirname(__FILE__), "Gemfile.d", "*.rb")).sort.each
do |file|
# -------------------------------------------

mayng0702 avatar Aug 10 '22 03:08 mayng0702