tag:help.rubygems.org,2010-01-19:/discussions/problems/16906-gem-install-errorRubyGems.org: Discussion 2018-10-18T19:51:21Ztag:help.rubygems.org,2010-01-19:Comment/320892392014-03-14T00:47:54Z2014-03-14T00:47:58ZGem install error<div><p>When I try to install gems it says</p>
<p>irb(main):001:0> sudo gem install colorize<br>
NameError: undefined local variable or method <code>colorize' for
main:Object from (irb):1 from C:/Users/MYNAME/Desktop/A
I/Ruby193/bin/irb:12:in</code>' irb(main):002:0></p>
<p>Please help i don't know whats wrong</p></div>John Smithtag:help.rubygems.org,2010-01-19:Comment/320892392014-03-14T01:05:59Z2014-03-14T01:05:59ZGem install error<div><p>You need to run this from the cmd shell not from irb.</p></div>Eric Hodeltag:help.rubygems.org,2010-01-19:Comment/320892392014-03-14T01:33:17Z2014-03-14T01:33:18ZGem install error<div><p>the problem was it was in the wrong directory.</p></div>John Smith