【问题标题】:New Deploy to Production, Rake db:migrate fails新部署到生产,Rake db:migrate 失败
【发布时间】:2012-04-16 22:51:57
【问题描述】:

尝试将新应用部署到生产环境。从基本 CentOS 构建服务器。
但是,当我尝试运行 rake 来迁移数据库时,出现以下错误

[root@tatp tatp_store]# bundle exec rake db:migrate
rake aborted!
uninitialized constant ActiveShipping::Base

(See full trace by running task with --trace)
[root@tatp tatp_store]# 

我通过它可能是与 DSL 问题类似的问题,但类似的修复不起作用。

谢谢!

【问题讨论】:

标签: ruby-on-rails ruby-on-rails-3 activerecord rake


【解决方案1】:

这个问题是由 Spree Active Shipping 中的错误引起的,问题 #26 已在 build 9d4af80 中修复

【讨论】:

    猜你喜欢
    • 2012-11-26
    • 2012-06-19
    • 1970-01-01
    • 2011-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-24
    • 2011-04-26
    相关资源
    最近更新 更多