Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Exclude gem version in update

Posted on 2010-09-08
2
505 Views
Last Modified: 2012-05-10
Hi,

I want to do a full 'gem update' on my system, as there is a log of outdated gems.. but I don't want the rails 3 gem.
Can I exclude rails3 somewhere or somehow?

Andrew
0
Comment
Question by:Andrew Doades
2 Comments
 
LVL 12

Accepted Solution

by:
JESii earned 500 total points
ID: 33626288
I don't believe there's an option for gem update to exclude certain gems.  

However, you can put more than one gem on the 'gem update' command line (i.e., sudo gem update money rack rake rspec will update those four gems - sudo is if you're on Mac or Linux systems; not needed on windows).
0
 
LVL 10

Author Closing Comment

by:Andrew Doades
ID: 33626392
I'll have to specify which gems to manually update
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
trying to get text between certain words 6 218
Instaling Ruby 3 307
Upgrading Ruby & Rails on CentOS 3 443
Github help 2 464
I recently rediscovered rails when I needed a holiday project and decided to build a management dashboard for the company where I work.  With it being a project done in my free time, I could focus my time on learning the basics rather than trying to…
Article by: narshlob
If you've ever programmed in Ruby and have come across either a proc or a lambda, you might have been wondering what the difference is between the two and when you would use one over the other. This article will try to explain the difference between…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question