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

  • Home
  • SEARCH
  • 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 3930756
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T23:17:14+00:00 2026-05-19T23:17:14+00:00

I have an existing Rails 2.3.10 app that I’m considering upgrading to Ruby 1.9.2

  • 0

I have an existing Rails 2.3.10 app that I’m considering upgrading to Ruby 1.9.2 from 1.8.7. Before I start hacking away at the application trying to get it to work, I’m trying to decide if it’s even worth the effort.

Just to get an idea of how much work might be involved, I’m simply running all the specs (rspec 1.3.1) in Ruby 1.9.2. 98% of the tests are passing, but they run about 3x slower and there are a ton of messages like “Ruby 1.9 doesn’t support Unicode normalization yet”. I found a post about this issue, so I know I can fix it, but I’m concerned about the speed and other issues I might run into.

My other option is to upgrade the application to Rails 3 and move to 1.9.2 at that time. This seems like a much better decision for the long term, but could potentially be a lot more work.

tl;dr – Should I upgrade to 1.9.2 now or wait until the application is on Rails 3?

  • 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-19T23:17:14+00:00Added an answer on May 19, 2026 at 11:17 pm

    I would recommend doing both, but the order in which you do them, or if you do them both at once is really a personal preference. If you have a strong test-suite with good coverage this is a great first step in making the transition. The main road-blocks you’ll run into are the following:

    • Many newer gem versions only support Rails 3, so if you are only doing one step at a time, make sure that you’re gems are supported. For example you don’t want to get stuck in a situation where a gem requires you to upgrade because you are using Ruby 1.9.2 but the new version of the gem is only available in Rails 3.
    • There are some syntax changes in Ruby 1.9.2 and compiled C extensions need to be re-complied or the gems re-installed.
    • There are major application configuration changes from Rails 2.3 to Rails 3.0. They take some time to complete but there is lots of support.

    In general Ruby 1.9.2 will be faster than Ruby 1.8.7 and will provide some cool new syntax. If you are getting opposite results then I would benchmark your code and make sure that this is actually the case and that it’s not just failing tests that are slowing your suite down.

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

Sidebar

Related Questions

I have an app that I'm porting from PHP/symfony to Ruby/Rails. Though the language
I have an existing Rails internal app, that handles inventory, invoicing, order taking, labeling,
I have an existing web app that allows users to rate items based on
We’ll be releasing shortly a companion Rails application to our existing Rails app. We
I have an existing rails application to which i am adding a new controller
I have a Ruby on Rails (2.3.5) application and an APE (Ajax Push Engine)
I have an existing Rails app on GitHub and deployed on Heroku. I'm trying
In my rails app, I have a terms model, that stores a term (a
For whatever reason, I have a lot of clients that have existing data that's
We have an existing WCF service that makes use of wsDualHttpBinding to enable callbacks

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.