【问题标题】:Bundler::GitError when starting up application启动应用程序时的 Bundler::GitError
【发布时间】:2012-07-27 09:17:30
【问题描述】:

在我的开发机器(mac)中,我正在运行

pow 0.3.2 rvm 1.14.5 ruby 1.9.2p290 Bundler version 1.0.21

我最近将 rvm 升级到 1.14.5。当我尝试在http://myapp.dev 中启动我的应用程序时,它给了我这个错误。

Bundler::GitError: git://github.com/collectiveidea/delayed_job.git (at v2.1.4) is not checked out. Please run bundle install

delayed_job 安装在 gemset 中。我不知道错误是来自rvm还是pow

这是Gemfile 中声明依赖项的行。

gem 'devise', :git => "git://github.com/plataformatec/devise.git", :ref => "v1.2.rc2"

【问题讨论】:

    标签: ruby-on-rails ruby rvm bundler rack-pow


    【解决方案1】:

    将 pow 更新到 0.4.0 并在 rails 项目中添加这个 .powrc 解决了这个问题。

    if [ -f "$rvm_path/scripts/rvm" ] && [ -f ".rvmrc" ]; then
      source "$rvm_path/scripts/rvm"
      source ".rvmrc"
    fi
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-04-28
      • 1970-01-01
      • 2011-08-03
      • 1970-01-01
      • 1970-01-01
      • 2014-11-02
      • 1970-01-01
      相关资源
      最近更新 更多