everzet/capifony — Issue #64: deploy migrate doesn't work if remote terminal uses color
Author: robmeek
Created: 2011-10-10 10:36:36+00:00
State: open

The regex to get the current version does not work for me on a remote ubuntu server which colorizes the output of doctrine:migrations:status. I guess the colorization breaks the regex. I imagine this is not uncommon.
Adding the --no-ansi parameter to doctrine:migrations:status fixed it for me i.e.

symfony2.rb:85

```ruby
run "cd #{latest_release} && #{php_bin} #{symfony_console} doctrine:migrations:status --env=#{symfony_env_prod} --no-ansi" do |ch, stream, out|
```