Gem Command not found

前端 未结 14 1113
春和景丽
春和景丽 2021-01-30 08:21

I have installed gem on Ubuntu 10.10 32 bit with

apt-get install gem -y

But when I try to run

gem install something.gem


        
相关标签:
14条回答
  • 2021-01-30 08:23

    The following command installs ruby gem for ubuntu:

    apt-get install libgemplugin-ruby
    

    I did it after ruby was installed.

    0 讨论(0)
  • 2021-01-30 08:23

    check that rvm is a function type rvm | head -1

    0 讨论(0)
  • 2021-01-30 08:26

    The following command may help you

    sudo apt-get install ruby

    0 讨论(0)
  • 2021-01-30 08:31

    FWIW, the equivalent package for RHEL/Fedora/CentOS/etc and SuSE/OpenSuSE appears to be called 'rubygems'.

    0 讨论(0)
  • 2021-01-30 08:34

    Installing this package allows you to use gem command on Debian 8:

    apt-get install rubygems-integration
    

    To install a gem package you might also need:

    apt-get install ruby ruby-dev
    
    0 讨论(0)
  • 2021-01-30 08:36

    Try the following:

    sudo apt-get install rubygems
    
    0 讨论(0)
提交回复
热议问题