I uploaded my first gem into rubygems. The code is tested and the gemspec is fine. It is in rubygems and rubydoc. I installed it on my machine via `gem install [gem_name]`. `gem list` lists it. However `[gem_name]` command yields `gem_name: command not found`.

YET: `gem '[gem_name]','~>[version_num]'` yields: `ERROR: While executing gem ... (Gem::CommandLineError)
 Unknown command gem_name,~>version_num`

(aside: I could've sworn when I first published I played with it and `gem_name` worked flawlessly to run my gem...)

what can I do to diagnose this problem? Please advise.

**EDIT:** `require '[gem_name]'` works flawlessly in IRB. It runs smoothly (interacts with user). Once finished, it returns `true`. When I require other gems, eg `require '[another_gem]'` true is returned immediately. The code doesn't actually run. Perhaps this shed some light?