How to install a downloaded Ruby gem file?

前端 未结 3 838
借酒劲吻你
借酒劲吻你 2021-01-30 21:10

How does \"gem install\" works ? It is not intuitive...

My gem is really here :

[root@localhost Téléchargement]# ll *.gem
-rw-rw-r-- 1 jean jean 16353818         


        
3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-30 21:30

    Maybe I have not fully understood the question. But if you just want to install a gem that you have on your local machine, all you need to do from the console is go into the directory containing your gem and gem install --local your.gem.

提交回复
热议问题