【问题标题】:DEPRECATION WARNING in heroku during deploying rails app [duplicate]部署rails应用程序期间heroku中的弃用警告[重复]
【发布时间】:2012-11-16 02:20:05
【问题描述】:

可能重复:
Rails 2.3-style plugins and deprecation warnings running task in Heroku

DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support
 for these plugins will be removed in Rails 4.0. Move them out and bundle them i
n your Gemfile, or fold them in to your app as lib/myplugin/* and config/initial
izers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonr
ails.org/2012/1/4/rails-3-2-0-rc2-has-been-released. (called from <top (required
)> at /app/Rakefile:7)

显示3次,有时显示2次是什么意思?有什么特殊含义吗? 如何为 db:migrate 解决这个问题

【问题讨论】:

    标签: ruby-on-rails ruby-on-rails-3 heroku ruby-on-rails-3.2


    【解决方案1】:

    Heroku 在 slug 编译期间“注入”一些插件。

    -----> Rails plugin injection
           Injecting rails_log_stdout
           Injecting rails3_serve_static_assets
    

    Rails 2.3-style plugins and deprecation warnings running task in Heroku

    【讨论】:

      猜你喜欢
      • 2012-02-23
      • 2014-01-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-09-07
      • 2014-08-08
      • 2020-05-30
      • 2015-12-25
      相关资源
      最近更新 更多