
rubygems - What is a Ruby gem? - Stack Overflow
Aug 30, 2016 · Gem Usage. RubyGems is very similar to apt-get, portage, and yum in functionality. Installation: gem install mygem Uninstallation: gem uninstall mygem Listing installed gems: gem list --local Gem Package Building. The gem command may also be used to build and maintain .gemspec and .gem files. Build .gem from a .gemspec file: gem build mygem.gemspec
ruby - Installing RubyGems in Windows - Stack Overflow
After installing DevelopmentKit you can install all needed gems by just running from the command prompt (windows console or terminal): gem install {gem name}. For example, to install rails, just run gem install rails .
rubygems - Where is the "Gemfile" in Ruby? - Stack Overflow
May 30, 2016 · It is used for describing gem dependencies for Ruby programs. The first thing in your gemfile is a source in which you tell the Gemfile where to look for gems. Source can be called as a block and you can have multiple sources in your gemfile. source "https://my_awesome_source.com" do gem "my_gem" gem "my_other_gem" end
How do I require a specific version of a ruby gem?
May 17, 2011 · 2) failing to issue a require command after the gem command. Proper usage in a script is: gem 'ruby-oci8', '=1.0.7' require 'oci8' # example is confusing; file required (oci8.rb) is not # same name as gem, as is frequently the case Proper …
How do I update Ruby Gems from behind a Proxy (ISA-NTLM)
Aug 7, 2008 · If behind a proxy, you can navigate to Ruby downloads, click on Download, which will download the specified update ( or Gem ) to a desired location. Next, via Ruby command line, navigate to the downloaded location by using : pushd [directory] eg : pushd D:\Setups. then run the following command: gem install [update name] --local
ruby - List of installed gems? - Stack Overflow
Mar 3, 2011 · gem query --local and. 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.
ruby - How to find where gem files are installed - Stack Overflow
Sep 28, 2013 · kirti@kirti-Aspire-5733Z:~$ gem help commands GEM commands are: build Build a gem from a gemspec cert Manage RubyGems certificates and signing settings check Check a gem repository for added or missing files cleanup Clean up old versions of installed gems in the local repository contents Display the contents of the installed gems dependency ...
ruby on rails - 'sudo gem install' or 'gem install' and gem locations ...
will install them, .gem/ruby/RUBYVERSION in your homedir. (See the other comment on this question about --user-install .) This will make the gems visible to gem list , uninstallable via gem uninstall , etc. without needing sudo access.
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 on rails - Why can't I install the SQLite gem? - Stack Overflow
Do you have all the source code required to build sqlite3-ruby? Gem is trying to compile some C code and cannot find the headers. You can probably use a fedora rpm for sqlite3-ruby (I don't use fedora, but I'm sure one exists) if you prefer to forgo compiling. Personally for ruby stuff, I prefer to use gem rather than a distro's packaging system.