【发布时间】:2012-04-10 15:07:27
【问题描述】:
对不起,如果这是一个愚蠢的问题,但问题很简单。如果我这样做,
$ rails new testproj
$ cd testporj
$ rails plugin install git://github.com/technoweenie/attachment_fu.git
应该只创建一个空项目并在其中安装附件_fu。但是,尝试启动它:
$ rails s
=> Booting WEBrick
=> Rails 3.2.2 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
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 in your Gemfile, or fold them in to your app as lib/myplugin/* and conf
ig/initializers/myplugin.rb. See the release notes for more on this: http://weblog.rubyonrails.org/2012/01/04/rails
-3-2-0-rc2-has-been-released. (called from <top (required)> at c:/Users/fgadotti/rails/apps/blobtest/testproj/confi
g/environment.rb:5)
Exiting
见鬼?我错过了什么? 它是我安装的 windows 上的 rails 3.2.2。
谢谢,
【问题讨论】:
-
attachment_fu 在 rails 3 上没有得到很好的支持。使用carrierwave
-
认真的吗?好吧..这些都是浪费时间.. -_-
-
@DanS 哦,顺便说一句,carrierwave 似乎无法将 DB 用作存储,是吗?还有其他可以做到的插件推荐吗?
-
是的,但是 heroku 不会同意 :(
标签: ruby-on-rails ruby-on-rails-plugins attachment-fu