Kong / unirest-ruby

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

Unirest if only installable if ruby = 2.0 #11

Closed CkuT closed 10 years ago

CkuT commented 10 years ago

Hey ! This gemspec line seems to be problematic :

s.required_ruby_version = '~> 2.0'

I had to install ruby (2.0.0-p451) and using it instead of ruby 2.1.1. However, the official docs says that the requirement is Ruby >= 2.0

Can you check it ?

CkuT commented 10 years ago

My bad... No problem finally

optimista commented 10 years ago

What was the problem, if I may ask? I've run into the same issue.

EDIT: My fault, the problem was with ruby versioning. I'm using Ubuntu 14.04 LTS and I've upgraded the pre-installed ruby version to 2.1.2, however I didn't update bundler which was still loading 1.9.3. After I run sudo gem install bundler and bundle everything went well.