【问题标题】:Heroku Cedar rake versionHeroku Cedar 耙子版本
【发布时间】:2012-12-12 12:48:56
【问题描述】:

Heroku Cedar 使用什么版本的 Rake?

我的 gemfile 是 10.0.2 版本,部署代码确认它捆绑在 Heroku 上:

Installing rake (10.0.2)

但应用程序无法启动,运行 heroku run rake db:migrate --app appname 或查看 heroku logs --tail 给我 /app/vendor/bundle/ruby/1.9.1/gems/rake-10.0.2/lib/rake.rb:24:in 'require': no such file to load -- rake/version (LoadError)

【问题讨论】:

    标签: ruby-on-rails heroku rake


    【解决方案1】:

    rake 没有预装在 Cedar 上,你只有一个空容器。所有依赖项都是从您的应用程序中引入的(例如 Bundler)。

    【讨论】:

    • 这是有道理的。我的 slugignore 文件中有“rake”,就像个白痴。
    猜你喜欢
    • 2011-09-16
    • 1970-01-01
    • 2014-07-21
    • 1970-01-01
    • 2011-11-01
    • 2011-10-20
    • 2015-09-11
    • 1970-01-01
    • 2012-01-20
    相关资源
    最近更新 更多