简体   繁体   中英

How can I restart Ruby after a gem install?

I'm running on Ubuntu. The question is so basic it feels silly but I have done some searching and can't figure out the answer.

Edit: I am running into similar issues as the following

Uninitialized constant using Twitter ruby gem

You don't need to restart Ruby after installing gems. You can for example

gem install rails

and after that you can start running rails (which uses Ruby) right away and no need to restart Ruby.

在使用Twitter的未初始化常量中,ruby gem链接重新启动表示停止服务器的ctr + c和启动服务器的rails(对于rails 3)。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM