forward3d / rbhive

Ruby gem for querying Apache Hive
http://www.forward3d.com
MIT License
98 stars 74 forks source link

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

Open liprais opened 9 years ago

liprais commented 9 years ago

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

john1king commented 9 years ago

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.

0bserver07 commented 8 years ago

Thanks @john1king !