Error "spawner: invalid argument: -p 3000" when calling from spin

When deploying with capistrano 2, i have following strange problem:
the deployment complain that it doesn’t understand parameters “-p
3000” or “-i 3” in spin script (I compose spin just like capistrano
guide) with this error:

spawner: invalid argument: -p 3000
When I run the spin script from linux command line, I get the same

However, when I type “./script/process/spawn -p 3000 -i 3” it work

Anyone, please help!


  • Chuong