Kong / unirest-ruby

Unirest in Ruby: Simplified, lightweight HTTP client library.
http://unirest.io/ruby
MIT License
364 stars 83 forks source link

Unable to activate unirest #49

Open tee opened 7 years ago

tee commented 7 years ago

When trying to run a script using Unirest I am getting the following error:

C:/Ruby24/lib/ruby/2.4.0/rubygems/specification.rb:2291:in 'raise_if_conflicts': Unable to activate unirest-1.1.2, because json-2.0.2 conflicts with json (~> 1.8.1) (Gem::ConflictError)

Getting this error on both Mac and PC. Any quick fix for this?

javen commented 6 years ago

I ran into the same error on Mac.

JotaSe commented 6 years ago

gem uninstall json and select the 2.0.2 version.