[英]Ruby get how to install specifice bundler version
im new to ruby i installed ruby 2.7.2 and i like to install a specific bundler version when i run:我是 ruby 的新手,我安装了 ruby 2.7.2,我喜欢在运行时安装特定的捆绑程序版本:
gem cleanup
gem cleanup bundler
gem list bundler
bundle install 2.2.5
I'm getting this error:我收到此错误:
Cleaning up installed gems...
Clean up complete
bundler (default: 2.1.4)
ERROR: "bundle install" was called with arguments ["2.2.5"]
Usage: "bundle install [OPTIONS]"
how do i install specifice bundler version?我如何安装特定的捆绑版本?
I think what you are trying to do is achieved by the command:我认为你正在尝试做的是通过命令实现的:
gem install bundler -v 2.2.5
instead of代替
bundle install 2.2.5
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.