如何检查我的Ubuntu系统上安装了哪个版本的rubygems?
只是一个想法,列出已安装的软件包和grep的ruby或gem或任何:)
dpkg – 获取select
gem -v或者gem --version会输出版本号。
了解更多信息:
$ gem -h RubyGems is a sophisticated package manager for Ruby. This is a basic help message containing pointers to more information. Usage: gem -h/--help gem -v/--version gem command [arguments...] [options...] Examples: gem install rake gem list --local gem build package.gemspec gem help install Further help: gem help commands list all 'gem' commands gem help examples show some examples of usage gem help platforms show information about platforms gem help <COMMAND> show help on COMMAND (eg 'gem help install') gem server present a web page at http://localhost:8808/ with info about installed gems Further information: http://rubygems.rubyforge.org
我已经看到另一个问题,你有gem应用程序中断。 而且你已经用gem update --system更新了它。 如果是这种情况,您可以查看/usr/lib/ruby/gems/1.8/gems/rubygems-update-xxx并将最高值为xxx的目录