我将 Ruby 1.9.3p194 与 Rails 3.2.13 一起使用,并新创建了一个 Rails 应用程序,其中包含包含/vendor
文件的文件夹.gitkeep
:
/vendor/assets/javascripts
/vendor/assets/stylesheets
/vendor/plugins
所有文件夹都是空的。
当我在 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 in your Gemfile, or fold them in to your app as lib/myplugin/*
and config/initializers/myplugin.rb. See the release notes for more on this:
http://weblog.rubyonrails.org/2012/1/4/rails-3-2-0-rc2-has-been-released.
(called from <top (required)> at /app/config/environment.rb:5)
可以完全删除此/vendor
文件夹而不会产生任何负面影响吗?