Ruby Gems returns “command not found”

后端 未结 3 572
没有蜡笔的小新
没有蜡笔的小新 2020-12-24 13:41

Ubuntu 9.10

Just installed newgem

gem install newgem

and when i try

newgem new_project

I get

3条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-24 14:45

    If you use RVM (most do), then it will take care of this for you. In fact putting it in your path directly may conflict. You have to set a ruby to use though. Run one of these on the command line.

    rvm use 1.9.3
    

    or

    rvm use --default 1.9.3
    

提交回复
热议问题