Skip to content

Instantly share code, notes, and snippets.

Created June 16, 2012 08:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/dc30097640d884b6c89b to your computer and use it in GitHub Desktop.
Save anonymous/dc30097640d884b6c89b to your computer and use it in GitHub Desktop.
Strange error with smartcard library
require 'smartcard'
context = Smartcard::PCSC::Context.new( :system )
readers = context.list_readers nil
context.cancel
puts readers
read.rb:4:in `<main>': undefined method `list_readers' for #<Smartcard::PCSC::Context:0x00000000b309c0 @_handle=17029954> (NoMethodError)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment