Install fails on radpberi pi

41 views
Skip to first unread message

Norman Guinasso

unread,
Jul 8, 2016, 3:59:08 PM7/8/16
to HTTParty Gem
I am trying to install a ruby gem with HTTParty but the install fails with

 httparty requires Ruby version >= 1.9.3.

This is what I get:

pi@raspberrypi:/usr/bin $ sudo gem install httparty
ERROR:  Error installing httparty:
        httparty requires Ruby version >= 1.9.3.

pi@raspberrypi:/usr/bin $ ls -l | grep ^l | grep ruby
lrwxrwxrwx 1 root root          9 Jun 25 11:32 ruby -> ruby1.9.1
lrwxrwxrwx 1 root root          9 Dec 31  1969 ruby1.9.3 -> ruby1.9.1

pi@raspberrypi:/usr/bin $ which ruby
/usr/bin/ruby

pi@raspberrypi:/usr/bin $ ruby -v
ruby 1.9.3p484 (2013-11-22 revision 43786) [arm-linux-eabihf]
pi@raspberrypi:/usr/bin $

pi@raspberrypi:/usr/bin $ gem -v
1.8.24

Is this do to the confusion caused by the convoluted way raspian installled ruby?

How to fix this?
Reply all
Reply to author
Forward
0 new messages