Solved

Exclude gem version in update

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
In Ruby, Call or invoke a API DLL library is easily via Win32API class, win32-api gem or other gems. For general DLL API call, there are quite a few references, some good tips list below: http://www.rubytips.org/2008/05/13/accessing-windows-api-fro…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

911 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

26 Experts available now in Live!

Get 1:1 Help Now