[ https://issues.apache.org/jira/browse/THRIFT-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876515#comment-13876515 ]
Nevo Hed commented on THRIFT-2184: ---------------------------------- [~jfarrell] Please proceed with your patch. Any issue I may have had with it was not reproducible and is probably loca to me > undefined method rspec_verify for Thrift::MemoryBufferTransport > --------------------------------------------------------------- > > Key: THRIFT-2184 > URL: https://issues.apache.org/jira/browse/THRIFT-2184 > Project: Thrift > Issue Type: Bug > Components: Ruby - Library > Affects Versions: 0.9.1 > Reporter: Paul Brannan > Attachments: THRIFT-2184.patch > > > When running 'make install', I get the following errors that do not occur > when just running 'make': > {noformat} > 1) BinaryProtocolAccelerated it should behave like a binary protocol should > write a byte > Failure/Error: @trans.rspec_verify > NoMethodError: > undefined method `rspec_verify' for > #<Thrift::MemoryBufferTransport:0x000000034e86c8> > Shared Example Group: "a binary protocol" called from > ./spec/binary_protocol_accelerated_spec.rb:28 > # ./spec/binary_protocol_spec_shared.rb:112:in `block (2 levels) in <top > (required)>' > 2) BinaryProtocol it should behave like a binary protocol should write a > byte > Failure/Error: @trans.rspec_verify > NoMethodError: > undefined method `rspec_verify' for > #<Thrift::MemoryBufferTransport:0x000000034509e0> > Shared Example Group: "a binary protocol" called from > ./spec/binary_protocol_spec.rb:25 > # ./spec/binary_protocol_spec_shared.rb:112:in `block (2 levels) in <top > (required)>' > {noformat} > I commented out the call to #rspec_verify, but I do not know what the correct > fix is. > I also get numerous (related) warnings about mock being deprecated: > {noformat} > DEPRECATION: mock is deprecated. Use double instead. Called from > /home/pbrannan/git/thrift/lib/rb/spec/unix_socket_spec.rb:93:in `block (3 > levels) in <top (required)>'. > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)