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 6197815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T03:53:19+00:00 2026-05-24T03:53:19+00:00

I am currently looking at upgrading a gem to Rails 3, some work has

  • 0

I am currently looking at upgrading a gem to Rails 3, some work has already put in and the gem now supports Rails 3 with Ruby 1.9.2. The fork also includes an .rvmrc file which specifies ruby 1.9.2. Should gems use .rvmrc files to specify a ruby version when they can be compatible with multiple versions of ruby? When I try to install the gem on ree from ruby gems the gem complains that I need ruby 1.9.2. Is this because of the .rvmrc file?

  • 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-24T03:53:21+00:00Added an answer on May 24, 2026 at 3:53 am

    Don’t add .rvmrc to your gem.

    I forgot one and my users started complaining: the whole stuff didn’t work because of ruby versions incompatibilities…

    A workaround would be to load your gem content only if the current Ruby version is ok.

    You’d prepend your main class with a:

     if RUBY_VERSION >= 1.9
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently looking at hosting solutions for my Ruby on Rails SaaS web application,
We are currently looking to adopt some type of standard developer framework and have
I'm currently looking at upgrading the logging mechanism in a medium-to-large-sized Java codebase. Messages
I'm looking at upgrading a POS (Point Of Sale) project which is currently built
The company I work for is currently looking to move from traditional waterfall into
I'm currently looking at the Python framework Django for future db-based web apps as
I'm currently looking for ways to create automated tests for a JAX-RS (Java API
I am currently looking at different ORM solutions for a project that is planned
I was currently looking into memcached as way to coordinate a group of server,
I'm currently looking at indexing an ASP website from Sharepoint and I need to

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.