sup-heliotrope / ncursesw-ruby

Ruby bindings to the ncursesw library (modified from: http://ncurses-ruby.berlios.de/)
GNU Lesser General Public License v2.1
22 stars 13 forks source link

Ncursesw does not recognize new library connection after rebuild. #31

Closed alfredopalhares closed 8 years ago

alfredopalhares commented 8 years ago

A gem pristine ncursesw did not rebuild the library links. A uninstall and install was necessary.

Related to https://github.com/sup-heliotrope/sup/issues/485

gauteh commented 8 years ago

It is weird that extconf.rb is not re-run, I thought that was the whole point of gem pristine. I think we need some debug output and log files from the gem rebuild.

gauteh commented 8 years ago

From http://guides.rubygems.org/command-reference/#gem-pristine

Restores installed gems to pristine condition from files located in the gem cache

this probably means that it is not re-built unless there is some difference to the cache. I belive the --all keyword should do it anyway.

gauteh commented 8 years ago

The correct fix is to rebuild: https://github.com/sup-heliotrope/sup/wiki/ncurses-dependency-update-from-5-to-6