Actions
Defect #4607
closedCompletely broken unit tests with Ruby 1.9 (encoding problem)
Start date:
2010-01-19
Due date:
% Done:
0%
Estimated time:
Resolution:
Fixed
Affected version:
Description
Current trunk:
$ rake --trace test:units
/Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load': /Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: invalid multibyte char (US-ASCII) (SyntaxError)
/Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: invalid multibyte char (US-ASCII)
/Users/AlekSi/Sites/redmine/test/unit/mail_handler_test.rb:214: syntax error, unexpected $end, expecting ')'
    tracker = Tracker.create!(:name => '開発')
                                          ^
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/activesupport-2.3.5/lib/active_support/dependencies.rb:147:in `load_with_new_constant_marking'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `block in <main>'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `each'
    from /Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake/rake_test_loader.rb:5:in `<main>'
rake aborted!
Command failed with status (1): [/Users/AlekSi/.rvm/rubies/ruby-1.9.1-p378/...]
/Users/AlekSi/.rvm/gems/ruby-1.9.1-p378/gems/rake-0.8.7/lib/rake.rb:995:in `block in sh'
	btw, I think support for Ruby 1.9 would be a great target for Redmine 1.0. How about to create specific version/milestone for it to see all releated issues?
       Updated by Alexey Palazhchenko almost 16 years ago
      Updated by Alexey Palazhchenko almost 16 years ago
      
    
    It was bisected down to r3322.
       Updated by Jean-Philippe Lang over 15 years ago
      Updated by Jean-Philippe Lang over 15 years ago
      
    
    - Status changed from New to Closed
- Target version set to 0.9.1
- Resolution set to Fixed
Fixed in r3346.
       Updated by Eric Davis over 15 years ago
      Updated by Eric Davis over 15 years ago
      
    
    - Category set to Ruby support
Aleksey Palazhchenko wrote:
btw, I think support for Ruby 1.9 would be a great target for Redmine 1.0. How about to create specific version/milestone for it to see all releated issues?
Added a category for Ruby 1.9 support.
Actions