Solved

Exclude gem version in update

Posted on 2010-09-08
2
497 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video discusses moving either the default database or any database to a new volume.

706 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now