On 19 July 2012 14:31, shrii <
lokhande...@gmail.com> wrote:
> I have installed webistrano, deploy is working fine.. but migration and
> rollback of migration is not working.
> Error as follows.
>
> ---------------------------------------------------------------------------------
> ** loading stage recipe 'prodmi'
> executing locally: "git ls-remote git@localhost:testapp.git HEAD"
> command finished in 294ms
> * executing `deploy:migrate'
> * executing "cd /home/shrii/test/current; rake RAILS_ENV=development
> db:migrate"
> *** unknown role `db'
This line suggests that you haven't defined any DB servers, so
migrations have nowhere to run.
If you have no DB migrations, I *think* you can stub them out somehow.
It's been a while, so I don't recall how; the Internet probably has
some relevant capistrano info you can use to inform how you should
modify your webistrano setup.
HTH,
Jonathan
--
Jonathan Matthews
Oxford, London, UK
http://www.jpluscplusm.com/contact.html