开发者

Can't see the binary after installing ruby gem: memcached

开发者 https://www.devze.com 2023-04-12 12:13 出处:网络
I need to install and run memcached for an application. I h开发者_开发百科ave my own ruby installation on a linux machine I am not a super-user of.

I need to install and run memcached for an application. I h开发者_开发百科ave my own ruby installation on a linux machine I am not a super-user of.

My ruby installation is in ~/ruby-install which also has the ruby-gem binary installed. Now, from here, when I do a `gem install memcached', I do not see any error and it seems that the gem installation went well.

However, I'm a bit puzzled as to what post-install environment setup should I do to get the memcached commandline working?


Execute

cd `gem environment gemdir`
cd bin
ls

If that dons't display the program your looking for, I don't know whats wrong. Otherwise, just execute from here. All command line tools installed by Rubygems live here in the bin directory.

You can also add the gemdir to your $PATH. That will allow you to execute tools anywhere.

0

精彩评论

暂无评论...
验证码 换一张
取 消