canvas-lms
canvas-lms copied to clipboard
Add dependency the specified version of switchman-inst-jobs in Gemfile
Summary:
How to solve the version of switchman-inst-jobs in Gemfile
Steps to reproduce:
- cd gems/plugins/academic_benchmark/
- nano academic_benchmark.gemspec
- 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|
# -------------------------------------------