rubygems-1.3.5を入れてみた。
まずはrubygemsのソースをここからゲット。
そしてtar xvzfで展開してからは、ログの通り。
root@localhost tarBall]# cd rubygems-1.3.5
[root@localhost rubygems-1.3.5]# ls
ChangeLog History.txt Manifest.txt Rakefile cruise_config.rb pkgs test
GPL.txt LICENSE.txt README bin lib setup.rb util
[root@localhost rubygems-1.3.5]# checkinstall -R "ruby setup.rb"checkinstall 1.6.1, Copyright 2002 Felipe Eduardo Sanchez Diaz Duran
This software is released under the GNU GPL.
The package documentation directory ./doc-pak does not exist.
Should I create a default set of package docs? [y]:パッケージのドキュメンテーションを準備..OK
このパッケージの説明を書いてください
End your description with an empty line or EOF.
> >**************************************
**** RPM package creation selected ***
**************************************This package will be built according to these values:
1 - Summary: [ Package created with checkinstall 1.6.1 ]
2 - Name: [ rubygems ]
3 - Version: [ 1.3.5 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ rubygems-1.3.5 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ rubygems ]変更するものの番号を入力してください。Enterで続行します:
Installing with ruby setup.rb...
========================= Installation results ===========================
RubyGems 1.3.5 installed=== 1.3.5 / 2009-07-21
Bug fixes:
Fix use of prerelease gems.
Gem.bin_path no longer escapes path with spaces. Bug #25935 and #26458.Deprecation Notices:
Bulk index update is no longer supported (the code currently remains, but not
the tests)
Gem::manage_gems was removed in 1.3.3.
Time::today was removed in 1.3.3.
------------------------------------------------------------------------------
RubyGems installed the following executables:
/usr/bin/gem
======================== Installation successful ==========================
Copying documentation directory...
./
./README
./ChangeLogtempディレクトリにファイルをコピー..OK
ELFバイナリとライブラリを除去..OK
manページを圧縮..OK
ファイルリストを作成..OK
RPMパッケージを作成..OK
NOTE: The package will not be installed
tempファイルを削除..OK
doc-pakディレクトリを削除..OK
バックアップパッケージを書き込み..OK
temp dirを削除..OK
**********************************************************************
Done. The new package has been saved to
/usr/src/redhat/RPMS/i386/rubygems-1.3.5-1.i386.rpm
You can install it in your system anytime using:rpm -i rubygems-1.3.5-1.i386.rpm
**********************************************************************
[root@localhost rubygems-1.3.5]# rpm -Uvh /usr/src/redhat/RPMS/i386/rubygems-1.3.5-1.i386.rpm
準備中... ########################################### [100%]
1:rubygems ########################################### [100%]
[root@localhost rubygems-1.3.5]#