Ask Your Question

gem install json on Fedora 22

asked 2015-11-15 23:03:48 -0500

Andrei Cristian Petcu gravatar image

Hello, I cannot install json in Fedora 22 and I cannot figure out what am I doing wrong. Here is the command I run

gem install json -v '1.8.1'

And here is the result I get

#ruby --version

2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]

#gem --version


If you have Fedora23, does this work on it?

Thank you!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-11-16 09:29:35 -0500

aeperezt gravatar image

It worked for me with json-1.8.3 how ever have the same result with 1.8.1 it could be because it is an old version specially since the issue is on rb_str_new(FBUFFER_PAIR(fb)) which require two arguments now, so probably an issue with Ruby version.

edit flag offensive delete link more


Hi! Thank you! I updated to json-1.8.2 and it worked.

Andrei Cristian Petcu gravatar imageAndrei Cristian Petcu ( 2015-11-16 17:16:29 -0500 )edit

Question Tools



Asked: 2015-11-15 23:03:48 -0500

Seen: 624 times

Last updated: Nov 16 '15