DEPRECATION WARNING: You have plugins with Rails 2.3 plugins in providers / plugins! Support will be removed in Rails 4.0

Possible duplicate:
Implemented 2.3 and obsolete warning plugins in Heroku

I run rake db: migrate gives me the following warnings and then cancels:

$ heroku rake db:migration --trace DEPRECATION WARNING: You have Rails 2.3-style plugins in vendor/plugins! Support forthese 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/Rakefile:7) 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/Rakefile:7) 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/Rakefile:7) rake aborted! Don't know how to build task 'db:migration' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/task_manager.rb:49:in `[]' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:115:in`invoke_task' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block (2 levels) in top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `each' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:94:in `block in top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:88:in `top_level' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:66:in `block in run' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:133:in `standard_exception_handling' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/lib/rake/application.rb:63:in `run' /app/.bundle/gems/ruby/1.9.1/gems/rake-0.9.2.2/bin/rake:33:in `<top (required)>' /app/.bundle/gems/ruby/1.9.1/bin/rake:19:in `load' /app/.bundle/gems/ruby/1.9.1/bin/rake:19:in `<main>' 

when I checked the vendor/plugins folder, I found only a file named .gitkeep and is empty

+8
git ruby-on-rails heroku rake
source share
3 answers

vendor/plugins are not a problem here, they are just warnings. This is heroku run rake db:migrate ..

maybe just heroku rake db:migrate if you are not on the cedar stack (note migrate , not migration )

+2
source share

Like FYI, if people come here from search engines because of the name of the question. The deprecation warning is triggered by connecting Heroku plugins - see Jared Beck's question on this question: Rails 2.3-style plugins and warning warnings run in Heroku

The solution proposed by nzifab above is true for the main problem, but that was not what was raised in the title of the question

+20
source share

What I feel about this, you had to make some changes to any of the gems and copy the hierarchy and files with the changes to the "..app / vendor / plugins" folder.

If so, then this is just a warning to let you know that you should copy the plugins to the "lib" folder. You must have seen the same thing when you start working in development mode.

+1
source share

All Articles