rbhive icon indicating copy to clipboard operation
rbhive copied to clipboard

couldn't install rbhive using 'gem install ...'

Open liprais opened this issue 9 years ago • 2 comments

localhost:ext liuxiao$ gem install rbhive

Building native extensions. This could take a while... ERROR: Error installing rbhive: ERROR: Failed to build gem native extension.

No such file or directory - getcwd

Gem files will remain installed in /Users/liuxiao/.rvm/gems/ruby-2.2.2/gems/thrift-0.9.0 for inspection. Results logged to /Users/liuxiao/.rvm/gems/ruby-2.2.2/extensions/x86_64-darwin-14/2.2.0/thrift-0.9.0/gem_make.out

liprais avatar May 25 '15 08:05 liprais

I encounter a similar error and fixed by

gem install rbhive -v 1.0.3.pre

Because thrift 0.9.0 can't build with ruby 2, see https://issues.apache.org/jira/browse/THRIFT-2219. Thrift 0.9.2 is fixed.

john1king avatar Jun 09 '15 10:06 john1king

Thanks @john1king !

0bserver07 avatar Dec 13 '15 18:12 0bserver07