不确定这里发生了什么,但在我的Rails 3应用程序中,我输入bundle install
,最后输入Your bundle is complete! It was installed into ./runner
。
很奇怪,因为我不知道跑步者来自哪里!
答案 0 :(得分:1)
如果我没记错的话,如果您运行类似bundle install ./runner
的内容,它会记住路径./runner
。 bundle install --system
应该修复它。我认为。
请参阅manpage:
--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.