pry / pry-coolline

Live syntax-highlighting for the Pry REPL
Other
128 stars 17 forks source link

Will not build on 2.0.0-p0 (w/ 2.0.0-p0 from rbenv) #17

Closed therocketforever closed 11 years ago

therocketforever commented 11 years ago
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
ghost commented 11 years ago

builds fine for me on OSX/rbenv.

ghost commented 11 years ago

btw, io-console isn't a dependency any longer on HEAD.

therocketforever commented 11 years ago

Thats fantastic! Works like a charm.