找不到宝石指令 [英] Gem Command not found
本文介绍了找不到宝石指令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经在
apt-get install gem -y
但是当我尝试运行时
gem install something.gem
我收到找不到命令的错误.
I get the error of the command not being found.
bash: gem: command not found
我安装了gem,是否有任何理由说找不到命令?
I installed gem, is there any reason it is saying it can't find the command?
这些文件是通过gem软件包安装的
These files were install by gem package
推荐答案
您要红宝石吗?如果是这样,您需要安装libgemplugin-ruby,然后将在您的路径中放入ruby'gem'程序:
Are you wanting ruby gems? If so, you need to install libgemplugin-ruby and then the ruby 'gem' program will be in your path:
aptitude install libgemplugin-ruby
这篇关于找不到宝石指令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文