"cheat" gem

[email protected]:~$
sudo gem install cheat
[sudo] password for dnormandin:
Successfully installed cheat-1.3.0
1 gem installed
Installing ri documentation for cheat-1.3.0…
Installing RDoc documentation for cheat-1.3.0…

[email protected]:~$
cheat cheat
No command ‘cheat’ found, did you mean:
blah blah

I missed a step! Which one?

On Tue, Apr 26, 2011 at 2:54 PM, Duke N. [email protected]
wrote:

No command ‘cheat’ found, did you mean:
blah blah

I missed a step! Which one?

Duke

Is your gem bin directory in your $PATH?

Duke N. wrote in post #995180:

[email protected]:~$
sudo gem install cheat
[sudo] password for dnormandin:
Successfully installed cheat-1.3.0
1 gem installed
Installing ri documentation for cheat-1.3.0…
Installing RDoc documentation for cheat-1.3.0…

[email protected]:~$
cheat cheat
No command ‘cheat’ found, did you mean:
blah blah

I missed a step! Which one?

You didn’t specify your platform. If it’s Ubuntu or Debian, then you
need:

PATH=$PATH:/var/lib/gems/1.8/bin
export PATH
cheat cheat

or just:

/var/lib/gems/1.8/bin/cheat cheat

(Debian always like to do things differently to everyone else, to make
people’s lives more interesting)

On Wed, 27 Apr 2011, Eric C. wrote:

cheat cheat
No command ‘cheat’ found, did you mean:
blah blah

I missed a step! Which one?

Duke

Is your gem bin directory in your $PATH?

[email protected]:~$
which gem
/usr/bin/gem

and that directory is definitely in $PATH.

On Wed, 27 Apr 2011, Brian C. wrote:

cheat cheat
cheat cheat

or just:

/var/lib/gems/1.8/bin/cheat cheat

(Debian always like to do things differently to everyone else, to make
people’s lives more interesting)

Yep! I’m on Xubuntu and your above hint did the trick! Thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs