mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-17 07:43:39 -05:00
Updated Installing curses gem (markdown)
@@ -18,6 +18,6 @@ gem install curses
|
|||||||
1. Download [ncurses Windows port](http://invisible-island.net/datafiles/release/mingw64.zip). [x86](http://invisible-island.net/datafiles/release/mingw32.zip)
|
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`.
|
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).
|
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`. Opening up `curses.so` in a disassembler we see `libncursesw6.dll` is loaded.
|
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.
|
5. To fix this copy the contents of `C:\ncurses\bin` to somewhere in your path.
|
||||||
6. Done!
|
6. Done!
|
||||||
Reference in New Issue
Block a user