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

Currently I'm working on a project at work and we're looking at upgrading our
I'm currently looking into options for process monitoring of Rails/Ruby Projects and quite like
I'm looking at upgrading a POS (Point Of Sale) project which is currently built
I am currently looking in to some file uploading using Java Server Faces. I've
I'm currently looking at a hefty Rails test suite. It's nothing I can get
Being a Dreamweaver user (with some past flirtations with Aptana), I'm now looking for
I'm currently doing some redesign of a website, basically just upgrading it to a
I am currently looking at this: some Genetic Algorithm This is some adapted code:
I'm currently looking through some of my dynamically generated HTML and noticed this: <div
I'm currently looking at upgrading the logging mechanism in a medium-to-large-sized Java codebase. Messages

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.