Uninstall rubygems osx




















You did the work. Glad to hear it worked out for you. Add a comment. Active Oldest Votes. Improve this answer. Travis Travis Sign up or log in Sign up using Google.

Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. Viewed 86k times. How do I install RubyGems on my Mac?

Any help would be great. Improve this question. Felix 3, 2 2 gold badges 26 26 silver badges 41 41 bronze badges. Lex B Lex B 1 1 gold badge 6 6 silver badges 3 3 bronze badges. You can only run gem from command line if you have RubyGems installed. So you may have to install manually. For MacOS Majave, here's a good guide: gorails.

Add a comment. Active Oldest Votes. I would highly suggest using a package manager and a Ruby Environment Manager. Improve this answer. That is why I am asking questions, I got the last command working by running it in a new shell without running it as sudo. I am now trying to get my first package oauth installed with the newest gems 2.

Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up. Connect and share knowledge within a single location that is structured and easy to search.

We have installed the rubygem application version 1. In future, if you have to install from tar. You might be able to reinstall rubygems now using checkinstall and then remove it immediately afterwards with dpkg -r packagename. When asked, give it a name 'rubygems'. At this moment we have reinstalled the rubygems. Now we need to uninstall it:. Do you mean a specific gem like haml or something, or do you mean the whole gem management system?

Based on you environment that could vary. Do not mix a normal "gem list" with a sudo-ed "gem uninstall" nor the other way around otherwise you may end up uninstalling sudo-installed gems former or getting a lot of errors latter.

HOW TO? A slighest different version, skipping the cut step, taking advantage of the '--no-version' option: gem list --no-version xargs gem uninstall -ax Since you are removing everything, I don't see the need for the 'I' option. First make sure you have at least gem version 2. How to write a switch statement in Ruby.



0コメント

  • 1000 / 1000