I'm trying to install the xively
Ruby gem on the Raspberry Pi - http://rubygems.org/gems/xively-rb
However, during install the following occurs:
gem install xively-rb Building native extensions. This could take a while... ERROR: Error installing xively-rb: ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-2.0.0-p353/bin/ruby extconf.rb
Gem files will remain installed in /usr/local/rvm/gems/ruby-2.0.0-p353/gems/yajl-ruby-1.2.0 for inspection. Results logged to /usr/local/rvm/gems/ruby-2.0.0-p353/gems/yajl-ruby-1.2.0/ext/yajl/gem_make.out
I'm pretty sure I fixed this issue on Windows by install the dev version of ruby, but executing rvm list
shows that I have the correct versions installed:
$ rvm list
rvm rubies
ruby-1.9.1-p431-dev [ armv6l ]
=* ruby-2.0.0-p353 [ armv6l ]
ruby-2.0.0-p353-dev [ armv6l ]
Where =* denotes the currently used ruby version.
How can I correct my setup to install xively
?
gem install xively
? I do happen to have a Rasp Pi box so if I have time I could try your command there. I use OpenElec though for my OS – slm Jan 07 '14 at 19:41gem install xively-rb
on Occidentals – barry Jan 07 '14 at 19:50