【问题标题】:Bundle install keeps installing to ./runnerBundle install 不断安装到 ./runner
【发布时间】:2012-02-09 23:14:08
【问题描述】:

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

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

【问题讨论】:

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


    【解决方案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.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-11-04
      • 2016-08-02
      • 2014-08-11
      • 1970-01-01
      相关资源
      最近更新 更多