elimisteve / clint

First command line client for Tent.is
https://app.tent.is/global
3 stars 0 forks source link

Requires gems, but does not provide a Gemfile #1

Open mwanji opened 12 years ago

mwanji commented 12 years ago

I fixed it by using the same gemset I use for tent-client-ruby. It would be nice for the dependencies to be made explicit.

elimisteve commented 12 years ago

Good point. I don't write much Ruby and it wasn't clear to me which imports/requires were part of the std lib and which aren't.

If you want to throw a Gemfile into the repo, I'd be happy to accept a pull request. I just looked in the Gemfile I think you were talking about and I just see Faraday.

EDIT: Okay now I see what you're referring to. Here's the beginning of clint.rb --

require 'openssl'
require 'base64'
require 'securerandom'
require 'json'

Here's the relevant section from tent-client.gemspec --

  gem.add_runtime_dependency 'faraday', '0.8.4'
  gem.add_runtime_dependency 'faraday_middleware', '0.8.8'
  gem.add_runtime_dependency 'nokogiri'
  gem.add_runtime_dependency 'oj'
  gem.add_runtime_dependency 'faraday_middleware-multi_json'

Any idea which gems clint uses that installing the gems listed in tent-client.gemspec solved?