
rubygems - Uninstall old versions of Ruby gems - Stack Overflow
May 5, 2011 · I have several versions of a Ruby gem: $ gem list rjb (1.3.4, 1.3.3, 1.1.9) How can I remove old versions but keep the most recent?
ruby - How to find where gem files are installed - Stack Overflow
Sep 28, 2013 · I can finds gems that are installed using gem list, but it doesn't show me where the gems are installed. How can I find where the gems are, and how can I know before installing a gem where it will...
ruby - Removing all installed Gems and starting over - Stack …
Feb 5, 2011 · I recently started learning Ruby and Ruby on Rails, and have watched a plethora of getting started materials. I have been finding lately that I keep getting errors where gems won't install or they will be installed but they can't be used for some reason, and I have decided that I want to remove everything down to once again just having Ruby ...
ruby - Add a Gem Path? - Stack Overflow
Specify Path for Installing ruby gem Hot Network Questions Is it possible to combine two USB flash drives into one single partition to store a very large file, and if so, how can this be achieved?
ruby on rails - How to find unused gems and cleanup gemfile
Nov 10, 2014 · So if you are looking the way to clean up your gem list I think the best way to do it manually (I know it is not easy way). Analyse each gem to find out what functionality it provides and decide (or find in your code) if it is needed or not. Additionally tests (if …
How to read a list into an array in Ruby? - Stack Overflow
Aug 13, 2016 · I've got a .txt file like this: 1039812323 2534563457 3457346731 2525146715 How do I pass this into an array and then access it's elements by index?
ruby - How to upgrade rubygems - Stack Overflow
Nov 29, 2012 · anujm@test:~$ dpkg -l |grep -i rubygem ii rubygems 1.3.5-1ubuntu2 package management framework for Ruby libraries/applications ii rubygems-lwes 0.8.2-1323277262 LWES rubygems ii rubygems1.8 1.3.5-1ubuntu2 package management framework for Ruby libraries/applications ii rubygems1.9 1.3.5-1ubuntu2 package management framework for …
ruby - List of installed gems? - Stack Overflow
Mar 3, 2011 · ruby -S gem list --local list 69 entries. While. ruby -e 'puts Gem::Specification.all_names' return 82. I used wc -l to get the numbers. Not sure if that is the right way to check. Tried to redirect the output to text files and diffed but that didn't help - will need to compare manually one by one.
arrays - List implementation in ruby? - Stack Overflow
Aug 20, 2011 · So Ruby (similar to other languages such as Python, PHP or Lua) tries to keep things simple with regards to collection types by offering just three types - Array, Hash and Set - therefore with a rich interface that makes it easy to emulate other collection types such as a List, Queue or Deque etc.
ruby - How do I list all versions of a gem available at a remote site ...
Feb 5, 2012 · gem info will return at most one gem; gem (list|search) might return multiple gems. gem info seems ideal if you know what you are looking for; gem (list|search) might helpful when there's uncertainty of the gem name. Also gem list describes itself for search local gems despite it being capable of remote operations.