Trying to re-create the problem I found where the problem is:
* rails new testapp --database mysql
* bundle install
* modified database.yml to add the correct username and password
* rake db:create
* rails g scaffold person name:string age:integer
* rake db:migrate
* then, running webrick locally the app (of course...) works.
* warble pluginize <== the culprit
and lib/tasks/warbler/warbler.rake is created
Now if i run "warble -T" or "warble config" i get the "stack too deep" error.
Avoiding the creation of warble rake taks allows building the war file
Francesco