mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-16 23:33:39 -05:00
add instructions for devkit
@@ -12,4 +12,12 @@ gem install curses
|
||||
```
|
||||
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`. Opening up `curses.so` in a disassembler we see `libncursesw6.dll` is loaded.
|
||||
5. To fix this copy the contents of `C:\ncurses\bin` to somewhere in your path.
|
||||
6. Done!
|
||||
Reference in New Issue
Block a user