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.
精彩评论