我正在尝试在 heroku 上部署一个应用程序。我的麻烦是安装 hattachement_fu 插件。
我运行以下命令将其直接安装在服务器上。
heroku plugins:install http://github.com/technoweenie/attachment_fuand"
我收到以下消息:
Unable to load plugin: some_plugin: uninitialized constant ActiveRecord
Already up-to-date.
attachment_fu installed
所以安装插件的接缝但上面出现了问题......但在我的日志中我继续得到:
NoMethodError (undefined method `has_attachment' for #<Class:0x2b3fed47a830>):
就像插件不存在一样。
关于发生了什么的任何想法?