Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Exclude gem version in update

Posted on 2010-09-08
2
Medium Priority
?
514 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
[X]
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
2 Comments
 
LVL 12

Accepted Solution

by:
JESii earned 2000 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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying 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

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…
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…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

722 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