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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T11:19:04+00:00 2026-05-18T11:19:04+00:00

Just a bit of background, I come from a strong C#/staticly typed background. Therefore

  • 0

Just a bit of background, I come from a strong C#/staticly typed background. Therefore I tend to think in terms of .dlls. So if I was working in a project, I’d reference my required dlls and that would be that.

Being new to Ruby and Rails I find I might be doing something wrong. For example, I create a Rails app at home using the gems I have locally. Using a different computer (say a work computer) I attempt to work on the project only to find I’m using different versions of the gems. After carrying out a bundle install I’m back to a working project.

The issue I have with this is that my gem library becomes ‘messy’. I end up with several versions of the same gem. Is this the way others work? When using a gem (from a require) will it default to the latest version? I feel as if I’m not managing the dependencies correctly, though as I’ve mentioned I’m new to the world of Ruby.

Should I just include my dependencies, then perform a bundle install each time I have different/missing dependencies? What happens if I wish to upgrade to a newer version of a gem? Would it be a case of updating the gemfile that bundle uses and getting on with it?

  • 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-18T11:19:04+00:00Added an answer on May 18, 2026 at 11:19 am

    Yes, bundler is the way to go to work with dependancies with Ruby on Rails. Why ? First, because it’s shipped with it (at least for version 3.0). Second, because it’s simple as hell (unlike maven with Java).

    A non exhaustive list of feature :

    • it lets you declare one or many gem repository to fetch gems from
    • to group your dependencies by environment (development, production…)
    • to specify version you’d like

    and so on. For more on this, check this http://gembundler.com/rationale.html

    Regarding your question : yes, bundler will take the latest version available is none is specified.

    Also, I would add a disavantage : you cannot specify a gem version depending on the OS. For example, nokogiri has a linux version AND a win version.

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

Sidebar

Related Questions

Background I'm having a bit of trouble finding out just how to programmatically post
I come from an ASP .Net background. I am now writing a Java program
I come from a web development background and haven't done anything significant in Java
I'm new to Kohana but come from a Spring/Java background. In Spring I'm used
Just a bit of background first. I currently have a site hosted with Windows
Just for a short bit of background, the reason I'm tracking this particular subversion
I'm a complete n00b to django & python. I come from a PHP background
Background We have been working very hard to try come up with solutions for
Am trying to understand jquery. Am a bit slow, maybe cause I come from
A bit of background: I am currently working on an application that allows novice

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.