Project

General

Profile

Actions

Defect #2948

closed

load_default_data.rake: STDOUT.flush needed before STDIN.gets

Added by Kazuhiro Nishiyama about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2009-03-11
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

I tried `rake redmine:load_default_data RAILS_ENV=production` but nothing happened, and messages showed after Ctrl+C.
It seems to be a buffering problem.

% rake redmine:load_default_data RAILS_ENV=production
(in /home/kazu/rails_apps/redmine-0.8.2)

^Crake aborted!

(See full trace by running task with --trace)
Select language: bg, ca, cs, da, de, en, es, fi, fr, he, hu, it, ja, ko, lt, nl, no, pl, pt, pt-br, ro, ru, sk, sr, sv, th, tr, uk, vn, zh, zh-tw [en] 
% ruby script/about
About your application's environment
Ruby version              1.8.6 (i686-linux)
RubyGems version          1.3.1
Rails version             2.1.2
Active Record version     2.1.2
Action Pack version       2.1.2
Active Resource version   2.1.2
Action Mailer version     2.1.2
Active Support version    2.1.2
Edge Rails revision       unknown
Application root          /home/kazu/rails_apps/redmine-0.8.2
Environment               development
Database adapter          mysql
%

Files

load_default_data.rake.diff (450 Bytes) load_default_data.rake.diff add STDOUT.flush Kazuhiro Nishiyama, 2009-03-11 03:35
Actions #2

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from New to Resolved
  • Target version set to 0.8.3
  • Resolution set to Fixed

I don't experience this problem, but your fix is applied in r2573.
Thanks.

Actions #3

Updated by Jean-Philippe Lang about 15 years ago

  • Status changed from Resolved to Closed

Merged in 0.8-stable in r2593.

Actions

Also available in: Atom PDF