Actions
Defect #3675
closed"Migrate from trac" script does not output query lines
Start date:
2009-07-27
Due date:
% Done:
0%
Estimated time:
1.00 h
Resolution:
Fixed
Affected version:
Description
When I run
$ rake redmine:migrate_from_trac RAILS_ENV="test"
it's supposed to output the following lines.
WARNING: a new project will be added to Redmine during this process. Are you sure you want to continue ? [y/N]
However, in my environment, my terminal only displays the first line.
I suspect it's the same problem as described here
To fix it, either use puts instead of print or do STDOUT.flush after each print statement.
Ruby version 1.8.6 (i686-darwin8.11.1) RubyGems version 1.3.2 Rails version 2.1.2 Rake version 0.8.7 Redmine version 0.8.4 Database adapter sqlite3
Actions