💾 Archived View for tilde.team › ~m040601 › mirrorz › fzf_wiki › clone_fzf.wiki › Installing-curses-… captured on 2023-01-29 at 04:25:48.
-=-=-=-=-=-=-
Since Ruby 2.1, curses was removed from Ruby standard library. :worried: If you have trouble installing curses gem, follow the instructions below. ## Arch Linux
pacman -S base-devel
gem install curses
## MSYS2 (Windows)
pacman -S base-devel gcc gmp-devel libcrypt-devel ncurses-devel
gem install curses
## DevKit (Windows) 1. Download [ncurses Windows port](http://invisible-island.net/datafiles/release/mingw64.zip). [x86](http://invisible-island.net/datafiles/release/mingw32.zip) 2. Unzip to anywhere, for example `C:\ncurses`. 3. Run `gem install curses --platform=ruby -- --with-ncurses-dir="C:\ncurses"` (Replace `C:\ncurses` with wherever you extracted it). 4. Now when we `require 'curses'` we get `The specified module could not be found` because `libncursesw6.dll` can't be found. 5. To fix this copy the contents of `C:\ncurses\bin` to somewhere in your path. 6. Done!