我已经尝试了多次卸载捆绑软件并重新安装捆绑软件,但不知何故,我仍然看到此错误:
➜ gem uninstall bundler
Remove executables:
bundler
in addition to the gem? [Yn] y
Removing bundler
Successfully uninstalled bundler-2.0.1
➜ gem install bundler
Fetching: bundler-2.0.1.gem (100%)
Successfully installed bundler-2.0.1
1 gem installed
➜ bundle
Warning: the running version of Bundler (1.16.6) is older than the version that created the lockfile (1.17.3). We suggest you upgrade to the latest version of Bundler by running `gem install bundler`.
答案 0 :(得分:0)
只需卸载并重新安装警告中的所需版本,以防您需要1.17.3版本。
gem uninstall bundler
gem install bundler -v 1.17.3