LoadError: libncursesw.so.5: cannot open shared object file: No such file or directory LoadError: libncursesw.so.5: cannot open shared object file: No such file or directory postgresql postgresql

LoadError: libncursesw.so.5: cannot open shared object file: No such file or directory


I had the same error message while trying to run rails console after last Arch Linux update, and I solved it reinstalling ruby (using rvm). Try the following:

$ rvm reinstall 2.2.2