不知道这里发生了什么,但在我的 Rails 3 应用程序中,我输入bundle install
并在最后输入 if Your bundle is complete! It was installed into ./runner
。
很奇怪,因为我不知道跑步者来自哪里!
不知道这里发生了什么,但在我的 Rails 3 应用程序中,我输入bundle install
并在最后输入 if Your bundle is complete! It was installed into ./runner
。
很奇怪,因为我不知道跑步者来自哪里!
如果我没记错的话,如果你运行类似的东西,bundle install ./runner
它会记住路径./runner
。bundle install --system
应该修复它。我认为。
请参阅手册页:
--path=<path>
The location to install the gems in the bundle to.
This defaults to the gem home, which is the location
that gem install installs gems to. This means that, by
default, gems installed without a --path setting will
show up in gem list. This setting is a remembered option.
--system
Installs the gems in the bundle to the system location.
This overrides any previous remembered use of --path.