I Have a strange error when i type the command "rake db:migrate "
Can you help to solve this error or give me some advices
the error is:
DEPRECATION WARNING: Rake tasks in /home/joanne/Desktop/picto/vendor/
plugins/prawnto/tasks/prawnto_tasks.rake are deprecated. Use lib/tasks
instead. (called from <top (required)> at /home/joanne/Desktop/picto/
thanks for help
That’s not an error, that’s a deprecation warning.
The plugin is very old and doesn’t seem to be maintained. Probably you
have a look at it’s forks on github and pick a more updated version.
If there aren’t any other deprecated methods used in the plugin, then
moving tasks folder inside the lib folder should fix it
On Wed, Jun 29, 2011 at 6:09 PM, Yennie [email protected] wrote:
Move the existing *.rake files that exist in the directories listed in
warning to the lib/tasks directory in your project.
So from the output you show - move th prawnto_tasks.rake file to