简体   繁体   中英

shell can't find my ruby gem/ node library

I want to interact with http app, so I find htty and http-console .

I use

gem install htty

Or

npm install http-console

But my shell seems can't these commands. So I need add to my PATH or something else?

Edit: I am using OS X Lion and I have npm and gem ,both packages are successfully installed. I try to type the two commands in terminal, but commands not found appeared.

Make sure you have gem and npm installed. Enter the following command and see if they are installed (and what versions):

gem -v && npm -v

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