checkinstallでrubyをRPM化する方法はネットに結構情報があるので、それを参考にすればできるのですが、作ったRPMをいざインストールしようとしたときに # rpm -ivh ruby-1.8.7-p357.i386.rpm エラー: 依存性の欠如: /usr/bin/ruby は ruby-1.8.7-p357.i386 に必要とされています のようなエラーがでて悩まされてました。これは # rpm -ivh --nodeps ruby-1.8.7-p357.i386.rpm とかで依存性を無視してインストールする方法はあるのですが、これだと依存性を解決できないのでローカルのyumリポジトリに置くこともできないですし、アンインストールしてもなぜか/usr/bin/rubyが残ってたりして、全然パッケージ管理されてなくね?ってな感じでもんもんとしてました。 でも、いろいろ調べた