The stack trace does not match the latest ruby-lsapi code, so you probably is using a earlier version of ruby-lsapi, not the latest.
If you have installed ruby-lsapi via tgz package, you may need to remove .../lib/ruby/1.8/i586-linux/lsapi.so, otherwise, it will override the ruby-lsapi...