Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6828009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:19:58+00:00 2026-05-26T22:19:58+00:00

I’m attempting to upgrade a Rails 2.3.9 app to work with Ruby 1.9.2-p290; previously

  • 0

I’m attempting to upgrade a Rails 2.3.9 app to work with Ruby 1.9.2-p290; previously the app worked with Ruby 1.8.7. I’m noticing a few quirks, the most remarkable is that I cannot run any tests in my app — not individual tests and not rake tests.

minitest throws an error before any test is run:

undefined method `name' for ActionView::TestCase.

The full stack trace follows.

$ bundle exec rake test:units
WARNING: 'require 'rake/rdoctask'' is deprecated.  Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
    at /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
/Users/me/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -I"lib:test" -I"/Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib" "/Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/unit/**/*_test.rb" 
NOTE: Gem.source_index is deprecated, use Specification. It will be removed on or after 2011-11-01.
Gem.source_index called from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.9/lib/rails/gem_dependency.rb:21.
NOTE: Gem::SourceIndex#refresh! is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#refresh! called from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/rails-2.3.9/lib/rails/vendor_gem_source_index.rb:34.
NOTE: Gem::SourceIndex#load_gems_in is deprecated with no replacement. It will be removed on or after 2011-11-01.
Gem::SourceIndex#load_gems_in called from /Users/me/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/site_ruby/1.9.1/rubygems/source_index.rb:322.
Run options: --seed 48289

# Running tests:

EEEE/Users/me/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-2.3.9/lib/action_controller/test_process.rb:511:in `method_missing': undefined method `name' for #<ActionView::TestCase:0x007fa0ee39ece8> (NoMethodError)
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-2.3.9/lib/action_view/test_case.rb:158:in `method_missing'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-2.3.9/lib/active_support/testing/setup_and_teardown.rb:26:in `rescue in run'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/activesupport-2.3.9/lib/active_support/testing/setup_and_teardown.rb:33:in `run'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:812:in `block in _run_suite'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:805:in `map'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:805:in `_run_suite'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:795:in `block in _run_suites'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:795:in `map'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:795:in `_run_suites'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:771:in `_run_anything'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:934:in `run_tests'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:921:in `block in _run'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:920:in `each'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:920:in `_run'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:909:in `run'
    from /Users/me/.rvm/gems/ruby-1.9.2-p290/gems/minitest-2.7.0/lib/minitest/unit.rb:689:in `block in autorun'
Run options: --seed 52971

# Running tests:
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T22:19:59+00:00Added an answer on May 26, 2026 at 10:19 pm

    It turns out that my gem environment was bad: I was using ruby 1.8.7, but my GEM PATHS were pointing to ruby 1.9.2.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're building an app, our first using Rails 3, and we're having to build
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I am writing an app with both english and french support. The app requests
I am using Paperclip to handle profile photo uploads in my app. They upload
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
I would like to count the length of a string with PHP. The string

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.