Ketan
Ketan

Reputation: 2032

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

I need to install and run memcached for an application. I have 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?

Upvotes: 4

Views: 1771

Answers (1)

Linuxios
Linuxios

Reputation: 35788

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.

Upvotes: 5

Related Questions