Closed Musicminion closed 2 years ago
Can I change my gemfile?IF can, where is it? Or there is something woring with the SYSTEM ENVIRONMENT?
I can't tell, and I am also confused with the output of bundle -v
, which tells the verson are not compatible.
first check your bundle version: bundle -v
if it's wrong search about changing default bundler version
first check your bundle version: bundle -v
if it's wrong search about changing default bundler version
thanks! After input bundle -v cmd, it shows 2.2.19, I am considering if I need to change my Gemfile?
I didn't install any other verson of bundle, I am quite sure!
first check your bundle version: bundle -v
if it's wrong search about changing default bundler version
changing default bundler version
So, is there anything woring?
check: gem list bundler and bundler version at the bottom of Gemfile.lock
the results are as following:
I check the Gemfile.lock in /var/canvas path, however, I am not sure about which Gemfile.lock do you mean?
thanks!!~
try to set default bundler: gem install bundler --version 2.2.19 --default
try to set default bundler: gem install bundler --version 2.2.19 --default
Amazing! why 2.1.4?
gem env
gem env
gem env
https://stackoverflow.com/questions/54761120/rails-how-to-change-bundler-default-version
Amazing!!!more than thanks~ I have solved this problem!! Thanks for your help you provided! Good luck to you!
Although I find this still a little puzzing, I still want to record the step I takes, for anyone who may also encounter this problem!
As you can see, you will find versons of bundle are not compatible.
gem install bundler --version 2.2.19 --default
bundle -v
, and at this time, I find my verson are 2.1.4, however Execute gem list bundler
, the result are 2.2.19gem environment | grep "INSTALLATION DIRECTORY"
to get your ruby installation directory, I find two directory, just ignore the user directory!cd /home/mycomputer/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/specifications/default
rm bundler-2.2.19.gemspec
gem install --default bundler -v 2.2.19
2.3.12
So, in conclusion, I guess developer my update their bundle verson, However, they may forget to update install file in the branch Verson Branch: stable/2021-11-10, So the message conveys the wrong signal, just update your bundle to the lateset verson? That‘s all, thanks.
Finally, I also want to express my gratitude to amg-web, without your help, I can't solve this problem so quickly definitely.
Problem Solved, Thanks @amg-web
从 Windows 版邮件发送
发件人: anmg 发送时间: 2022年4月21日 22:47 收件人: instructure/canvas-lms 抄送: Musicminion; Author 主题: Re: [instructure/canvas-lms] Bundle coun't find compatible versonsfor bundler (Issue #2047)
gem env — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Summary:
Steps to reproduce:
Verson Ubuntu 18.04 Verson Branch: stable/2021-11-10
1.Follow the instruction of the Production Start 2.Execute
canvas_init start
3.FailerI try execute bundler -v, and find my verson is excatly 2.2.19, which meets the GEMFILE requirement!
So, did anyone meet this probelm, to? All in all, this problem will not affect the open of this website, however ,Automated jobs can't do totally!
Expected behavior:
Start succeed
Actual behavior:
ERROR
Additional notes: