Bundle install会继续安装到./runner

时间:2012-01-13 19:08:14

标签: ruby-on-rails-3 bundler runner

不确定这里发生了什么,但在我的Rails 3应用程序中,我输入bundle install,最后输入Your bundle is complete! It was installed into ./runner

很奇怪,因为我不知道跑步者来自哪里!

1 个答案:

答案 0 :(得分:1)

如果我没记错的话,如果您运行类似bundle install ./runner的内容,它会记住路径./runnerbundle 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.