Gem install error

John Smith's Avatar

John Smith

14 Mar, 2014 12:47 AM

When I try to install gems it says

irb(main):001:0> sudo gem install colorize
NameError: undefined local variable or method colorize' for main:Object from (irb):1 from C:/Users/MYNAME/Desktop/A I/Ruby193/bin/irb:12:in' irb(main):002:0>

Please help i don't know whats wrong

  1. Support Staff 1 Posted by Eric Hodel on 14 Mar, 2014 01:05 AM

    Eric Hodel's Avatar

    You need to run this from the cmd shell not from irb.

  2. 2 Posted by John Smith on 14 Mar, 2014 01:33 AM

    John Smith's Avatar

    the problem was it was in the wrong directory.

  3. Nick Quaranto closed this discussion on 25 Apr, 2014 12:38 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac