gem install io-console
Fetching: io-console-0.4.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing io-console:
ERROR: Failed to build gem native extension.
~/.rbenv/versions/2.0.0-p0/bin/ruby extconf.rb
checking for termios.h... yes
checking for cfmakeraw() in termios.h... yes
checking for sys/ioctl.h... yes
checking for rb_check_hash_type() in ruby.h... yes
checking for rb_io_get_write_io() in ruby/io.h... yes
checking for rb_cloexec_open() in ruby/io.h... yes
creating Makefile
make
compiling console.c
linking shared-object io/console.bundle
make install
/usr/bin/install -c -m 0755 console.bundle ~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/io-console-0.4.2/./io
installing default console libraries
install: ~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/io-console-0.4.2/./io/console: Not a directory
make: *** [~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/io-console-0.4.2/./io/console/size.rb] Error 71
Gem files will remain installed in ~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/io-console-0.4.2 for inspection.
Results logged to ~/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/io-console-0.4.2/./gem_make.out