This project is archived and is in readonly mode.

#4983 ✓invalid
chaitanyav

ActiveSupport Tests Failing

Reported by chaitanyav | June 26th, 2010 @ 03:02 PM

I see three tests failing in ActiveSuport

[neo@myhost activesupport]$ rake
(in /home/neo/projects/rails/activesupport)
/usr/lib/ruby/1.9.1/test/unit/assertions.rb:31: warning: shadowing outer local variable - line
Skipping memcached backed store tests. Start memcached and try again.
/usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/core_ext/string/interpolate.rb:11: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb:30: warning: method redefined; discarding old h
Isolation tests can test test-unit 1 only
/home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:668: warning: mismatched indentations at 'end' with 'module' at 11
/home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:669: warning: mismatched indentations at 'end' with 'module' at 10
Loaded suite /usr/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
Started
......................../usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:74: warning: shadowing outer local variable - key
.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........F.........F........................................................................................................................................................................................................................................................................................................../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:305: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:306: warning: too many arguments for format string
./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:294: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:297: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:298: warning: too many arguments for format string
../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:344: warning: too many arguments for format string
../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:310: warning: too many arguments for format string
./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:328: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:329: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:330: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:331: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:332: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:333: warning: too many arguments for format string
/home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:334: warning: too many arguments for format string
...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 7.217105 seconds.

  1) Failure:
test_center_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:335]:
<"ααこにちわαα"> expected but was
<#<ActiveSupport::Multibyte::Chars:0xb1b6e4c @wrapped_string="αこにちわα">>.

  2) Failure:
test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:315]:
<"こにちわααα"> expected but was
<#<ActiveSupport::Multibyte::Chars:0xb199000 @wrapped_string="こにちわαα">>.

  3) Failure:
test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:297]:
<"αααこにちわ"> expected but was
<#<ActiveSupport::Multibyte::Chars:0xad18b6c @wrapped_string="ααこにちわ">>.

2053 tests, 9495 assertions, 3 failures, 0 errors, 0 skips
rake aborted!
Command failed with status (1): [/usr/bin/ruby -w -I"lib:test" "/usr/lib/ru...]

(See full trace by running task with --trace)

Comments and changes to this ticket

  • chaitanyav

    chaitanyav June 26th, 2010 @ 03:43 PM

    BTW, I am using Ruby 1.9.2 preview 3 , and rails beta 4.

  • chaitanyav

    chaitanyav June 26th, 2010 @ 08:16 PM

    Also there is lot of noise in the output of the tests .... This warning occurs in almost all components of the rails " warning: too many arguments for format string". Any ideas to get rid of the warning.

  • David Trasbo

    David Trasbo June 26th, 2010 @ 09:55 PM

    • Assigned user set to “Ryan Bigg”

    All Active Support tests passes here - I think it has been fixed some time after you posted the ticket. Please do bring your copy of the rails repository up to date and check if you still see the failures.

    Until then, this can be closed.

  • chaitanyav

    chaitanyav June 26th, 2010 @ 10:37 PM

    Ryan, I did update the repo ... I still see those failures

    [neo@myhost rails]$ git pull origin
    remote: Counting objects: 38, done.
    remote: Compressing objects: 100% (25/25), done.
    remote: Total 25 (delta 17), reused 0 (delta 0)
    Unpacking objects: 100% (25/25), done.
    From git://github.com/rails/rails
       926ca9c..a39f265  master     -> origin/master
    Updating 926ca9c..a39f265
    Fast-forward
     .../lib/active_record/autosave_association.rb      |    4 +-
     .../connection_adapters/sqlite3_adapter.rb         |   10 +++-
     .../lib/active_record/relation/query_methods.rb    |   15 +++--
     .../cases/adapters/sqlite/sqlite3_adapter_test.rb  |   56 ++++++++++++++++++++
     4 files changed, 74 insertions(+), 11 deletions(-)
     create mode 100644 activerecord/test/cases/adapters/sqlite/sqlite3_adapter_test.rb
    [neo@myhost rails]$ cd activesupport/
    [neo@myhost activesupport]$ rake
    (in /home/neo/projects/rails/activesupport)
    /usr/lib/ruby/1.9.1/test/unit/assertions.rb:31: warning: shadowing outer local variable - line
    Skipping memcached backed store tests. Start memcached and try again.
    /usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/core_ext/string/interpolate.rb:11: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb:30: warning: method redefined; discarding old h
    Isolation tests can test test-unit 1 only
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:668: warning: mismatched indentations at 'end' with 'module' at 11
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:669: warning: mismatched indentations at 'end' with 'module' at 10
    Loaded suite /usr/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
    Started
    ......................../usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:74: warning: shadowing outer local variable - key
    .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........F.........F........................................................................................................................................................................................................................................................................................................../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:305: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:306: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:294: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:297: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:298: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:344: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:310: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:328: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:329: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:330: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:331: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:332: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:333: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:334: warning: too many arguments for format string
    ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    Finished in 11.063309 seconds.
    
      1) Failure:
    test_center_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:335]:
    <"ααこにちわαα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0x97b27b8 @wrapped_string="αこにちわα">>.
    
      2) Failure:
    test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:315]:
    <"こにちわααα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0x9796bc4 @wrapped_string="こにちわαα">>.
    
      3) Failure:
    test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:297]:
    <"αααこにちわ"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0x91b954c @wrapped_string="ααこにちわ">>.
    
    2053 tests, 9495 assertions, 3 failures, 0 errors, 0 skips
    rake aborted!
    Command failed with status (1): [/usr/bin/ruby -w -I"lib:test" "/usr/lib/ru...]
    
    (See full trace by running task with --trace)
    [neo@myhost activesupport]$ git reset --hard origin/master
    HEAD is now at a39f265 Add module_eval missing file_name and line_number args [#4712 state:resolved]
    [neo@myhost activesupport]$ git fetch
    [neo@myhost activesupport]$ git pull origin
    Already up-to-date.
    [neo@myhost activesupport]$ cd ..
    [neo@myhost rails]$ git fetch
    [neo@myhost rails]$ git pull origin
    Already up-to-date.
    [neo@myhost rails]$ cd activesupport/
    [neo@myhost activesupport]$ ls
    activesupport.gemspec  CHANGELOG   lib      Rakefile  test
    bin            install.rb  MIT-LICENSE  README
    [neo@myhost activesupport]$ clear
    
    [neo@myhost activesupport]$ rake
    (in /home/neo/projects/rails/activesupport)
    /usr/lib/ruby/1.9.1/test/unit/assertions.rb:31: warning: shadowing outer local variable - line
    Skipping memcached backed store tests. Start memcached and try again.
    /usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/core_ext/string/interpolate.rb:11: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb:30: warning: method redefined; discarding old h
    Isolation tests can test test-unit 1 only
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:668: warning: mismatched indentations at 'end' with 'module' at 11
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:669: warning: mismatched indentations at 'end' with 'module' at 10
    Loaded suite /usr/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
    Started
    ......................../usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:74: warning: shadowing outer local variable - key
    .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........F.........F........................................................................................................................................................................................................................................................................................................../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:305: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:306: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:294: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:297: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:298: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:344: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:310: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:328: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:329: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:330: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:331: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:332: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:333: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:334: warning: too many arguments for format string
    ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    Finished in 28.779390 seconds.
    
      1) Failure:
    test_center_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:335]:
    <"ααこにちわαα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0xa0f9310 @wrapped_string="αこにちわα">>.
    
      2) Failure:
    test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:315]:
    <"こにちわααα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0xa0972bc @wrapped_string="こにちわαα">>.
    
      3) Failure:
    test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:297]:
    <"αααこにちわ"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0x9b0f4e0 @wrapped_string="ααこにちわ">>.
    
    2053 tests, 9495 assertions, 3 failures, 0 errors, 0 skips
    rake aborted!
    Command failed with status (1): [/usr/bin/ruby -w -I"lib:test" "/usr/lib/ru...]
    
    (See full trace by running task with --trace)
    
  • chaitanyav

    chaitanyav June 26th, 2010 @ 10:41 PM

    Tried this on a fresh clone

    [neo@myhost projects]$ rm -rf rails/
    [neo@myhost projects]$ git clone git://github.com/rails/rails.git
    Initialized empty Git repository in /home/neo/projects/rails/.git/
    remote: Counting objects: 173048, done.
    remote: Compressing objects: 100% (38047/38047), done.
    remote: Total 173048 (delta 133663), reused 172398 (delta 133152)
    Receiving objects: 100% (173048/173048), 29.91 MiB | 1.82 MiB/s, done.
    Resolving deltas: 100% (133663/133663), done.
    [neo@myhost projects]$ cd rails
    [neo@myhost rails]$ cd activesupport/
    [neo@myhost activesupport]$ rake
    (in /home/neo/projects/rails/activesupport)
    /usr/lib/ruby/1.9.1/test/unit/assertions.rb:31: warning: shadowing outer local variable - line
    Skipping memcached backed store tests. Start memcached and try again.
    /usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/core_ext/string/interpolate.rb:11: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/lib/active_support/core_ext/string/output_safety.rb:30: warning: method redefined; discarding old h
    Isolation tests can test test-unit 1 only
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:668: warning: mismatched indentations at 'end' with 'module' at 11
    /home/neo/.bundle/ruby/1.9.1/gems/nokogiri-1.4.2/lib/nokogiri/css/generated_parser.rb:669: warning: mismatched indentations at 'end' with 'module' at 10
    Loaded suite /usr/lib/ruby/gems/1.9.1/gems/rake-0.8.7/lib/rake/rake_test_loader
    Started
    ......................../usr/lib/ruby/gems/1.9.1/gems/i18n-0.4.1/lib/i18n/backend/simple.rb:74: warning: shadowing outer local variable - key
    .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F...........F.........F........................................................................................................................................................................................................................................................................................................../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:305: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:306: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:294: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:297: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:298: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:344: warning: too many arguments for format string
    ../home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:310: warning: too many arguments for format string
    ./home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:328: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:329: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:330: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:331: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:332: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:333: warning: too many arguments for format string
    /home/neo/projects/rails/activesupport/test/core_ext/string_ext_test.rb:334: warning: too many arguments for format string
    ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
    Finished in 13.768810 seconds.
    
      1) Failure:
    test_center_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:335]:
    <"ααこにちわαα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0xb763470 @wrapped_string="αこにちわα">>.
    
      2) Failure:
    test_ljust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:315]:
    <"こにちわααα"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0xb74ddfc @wrapped_string="こにちわαα">>.
    
      3) Failure:
    test_rjust_should_count_characters_instead_of_bytes(MultibyteCharsUTF8BehaviourTest) [/home/neo/projects/rails/activesupport/test/multibyte_chars_test.rb:297]:
    <"αααこにちわ"> expected but was
    <#<ActiveSupport::Multibyte::Chars:0xb1adc80 @wrapped_string="ααこにちわ">>.
    
    2053 tests, 9495 assertions, 3 failures, 0 errors, 0 skips
    rake aborted!
    Command failed with status (1): [/usr/bin/ruby -w -I"lib:test" "/usr/lib/ru...]
    
    (See full trace by running task with --trace)
    
  • Ryan Bigg

    Ryan Bigg June 27th, 2010 @ 12:21 AM

    • Assigned user changed from “Ryan Bigg” to “Rohit Arondekar”
    • Importance changed from “” to “Low”

    This is core's responsibility, not mine. To my knowledge, yesterday the ActiveSupport tests were passing. I'm going to assign this to Rohit because I think he told me that.

  • Santiago Pastorino

    Santiago Pastorino June 27th, 2010 @ 12:34 AM

    • State changed from “new” to “invalid”
    • Assigned user cleared.

    Please run the tests with 1.9.2 preview 3 this are errors on ruby 1.9.1.
    Thanks.

  • chaitanyav

    chaitanyav June 27th, 2010 @ 01:35 AM

    This is interseting, if you compile Ruby 1.9.2 preview 3 it shows as 1.9.1 since there is no version bump.

    neo@myhost rails]$ ruby -v
    ruby 1.9.1p378 (2010-01-10 revision 26273) [i686-linux]
    

    Here is the link to the ruby forum giving more info(http://www.ruby-forum.com/topic/210724)
    But when I do it via rvm

    [neo@myhost rails]$ rvm list
    
    rvm rubies
    
       ruby-1.9.2-preview3 [ i386 ]
    [neo@myhost rails]$ rvm ruby-1.9.2-preview3
    [neo@myhost rails]$ ruby -v
    ruby 1.9.2dev (2010-05-31 revision 28117) [i686-linux]
    

    When I run all the tests using rvm they pass and I dont see any error messages. When using the compiled ruby 1.9.2 preview 3 , I do see those errors though.

    Edited by Rohit Arondekar for formating.

  • chaitanyav

    chaitanyav June 27th, 2010 @ 01:38 AM

    • Assigned user set to “Santiago Pastorino”
  • Santiago Pastorino

    Santiago Pastorino June 27th, 2010 @ 04:08 AM

    • State changed from “invalid” to “open”

    chaitanyav that's really weird since rvm compiles the 1.9.2 preview3, but i will reopen the issue until we can see what's going on ;).

  • Rohit Arondekar

    Rohit Arondekar June 27th, 2010 @ 09:14 AM

    I think you are referring to the following two posts in Ruby Forum:

    Installing into 1.9.1 directories is one thing, but if ruby -v says 1.9.1 then it's most likely 1.9.1. Yes the version.h file still has minor version set to "1" (for the compatibility) but RUBY_VERSION is "1.9.2".

    RVM downloads 1.9.2-preview3 and compiles it. I've used 1.9.2-head before and after the preview3 release and the version has remained 1.9.2dev.

    Also another clue is the versions themselves:

    ruby 1.9.1p378 (2010-01-10 revision 26273)

    ruby 1.9.2dev (2010-05-31 revision 28117)

    There is no reason why a patch level would be included into the version of 1.9.2 since it's still in development. PATCH_LEVEL is set to -1 in version.h, causing it to be set to "dev". Also note the revision and the dates.

    Can you please check the PATH settings of your environment? They must be pointing to a 1.9.1 install.

  • David Trasbo

    David Trasbo June 27th, 2010 @ 12:32 PM

    Ryan, just for your information: I assigned the ticket to you because I thought it could be closed.

    Which I still think it can, by the way. If the errors you're seeing only appears with Ruby 1.9.1 it's worth mentioning that Rails does not officially support that version. They do support 1.9.2 though, on which the tests pass.

  • Santiago Pastorino

    Santiago Pastorino June 27th, 2010 @ 04:03 PM

    Are we all agree about the ticket can be closed?
    chaitanyav?

  • chaitanyav

    chaitanyav June 27th, 2010 @ 04:52 PM

    Please close the ticket, I will use the rvm version and recompile 1.9.2 on my machine

  • chaitanyav

    chaitanyav June 27th, 2010 @ 04:54 PM

    • Assigned user cleared.
  • Santiago Pastorino

    Santiago Pastorino June 27th, 2010 @ 05:13 PM

    • State changed from “open” to “invalid”

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Pages