[英]having issues with install bundle
This is the compiler error I get when trying to bundle install.这是我在尝试捆绑安装时遇到的编译器错误。
Gem::InstallError: rack requires Ruby version >= 2.3.0.
An error occurred while installing rack (2.2.3), and Bundler cannot continue.
Make sure that `gem install rack -v '2.2.3'` succeeds before bundling.
When I ruby -v
I get -v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x64-mingw32]
and also doing gem install rack -v '2.2.3'
works but it still gives me the same error when try to bundle install.当我
ruby -v
我得到-v ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x64-mingw32]
并且还执行gem install rack -v '2.2.3'
时,它仍然给我同样的错误尝试捆绑安装。
You have several versions of Rack.你有多个版本的 Rack。 You have to uninstall all versions except
2.2.3
So, do this:您必须卸载除
2.2.3
以外的所有版本,因此,请执行以下操作:
bundle info rack
# then check all versions and run this code for each versions except 2.2.3
# replace __VERSION__ with unneeded rack version
gem uninstall rack -v '__VERSION__'
Cheers干杯
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.