Skip to content

Commit 0c7aded

Browse files
committed
Add "For macOS" and "For Debian" to "Dependencies" of README.md
1 parent 659f1c3 commit 0c7aded

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,14 @@ This gem is my first attempt at writing any FFI code, and my first attempt to us
1010

1111
The gem requires the hidapi library to be installed and available to Ruby. On Mac with homebrew installed, this can be done with the command:
1212

13+
### For macOS
14+
1315
$ brew install hidapi
1416

17+
### For Debian
18+
19+
$ sudo apt install libhidapi-dev libhidapi-hidraw0 libhidapi-libusb0
20+
1521
## Installation
1622

1723
Add this line to your application's Gemfile:

0 commit comments

Comments
 (0)