janlelis/clipboard

why don't you make ffi a dependency in the gemspec?

Opened this issue · 2 comments

It would be pretty cool because then it would automatically do it for people.

however you might need a check for only windows but I'm sure that's possible

It could be nice. You can check if on Windows by inspecting ENV like this:

if(ENV['OS'].match(/windows/i))

Cheers.

Some people had troubles installing ffi, so it is not mandatory. But I've added a Gemfile example with platform support in the README: https://github.com/janlelis/clipboard#setup