[ruby] Install RubyGems
1. Go to http://rubyforge.org/
2. Search RubyGems
3. Download rubygems-1.8.25.tgz from webpage
4. tar xvf rubygems-1.8.25.tgz
5. cd rubygems-1.8.25
ruby setup.rb
6. Display successful message like following
happy@ubuntu:~/Downloads/rubygems-1.8.25$ ruby setup.rb
RubyGems 1.8.25 installed
== 1.8.25/ 2013-01-24
* 6 bug fixes:
* Added 11627 to setup bin_file location to protect against errors. Fixes #328 by ConradIrwin
* Specification#ruby_code didn't handle Requirement with multiple
* Fix error on creating a Version object with a frozen string.
* Fix incremental index updates
* Fix missing load_yaml in YAML-related requirement.rb code.
* Manually backport encoding-aware YAML gemspec
------------------------------------------------------------------------------
RubyGems installed the following executables:
/home/happy/bin/gem
7. Test gem version, and make sure install gem successfully
happy@ubuntu:~/Downloads/rubygems-1.8.25$ gem -v
1.8.25
2014年5月1日 星期四
訂閱:
張貼留言 (Atom)
0 意見:
張貼留言