stripe-ruby/Gemfile
Brandur aa12f7e621 Relax rest-client requirements
Our fairly old requirements for rest-client (and therefore mime-types)
are starting to cause some dependency hell problems for some customers.
Try relaxing these constraints and locking 1.9 specifically into
compatible versions.
2016-08-31 06:56:17 -07:00

34 lines
935 B
Ruby

source "https://rubygems.org"
gemspec
group :development do
gem 'mocha', '~> 0.13.2'
gem 'pry'
gem 'rake'
gem 'shoulda-context'
gem 'test-unit'
# mime-types has become only compatible with Ruby versions > 2 and we're
# still supporting 1.9 for the time being. Lock to old versions of
# mime-types and rest-client which are known to work in our Gemfile (it's
# fine to use newer versions in live environments so we don't have these in
# the gemspec).
#
# https://github.com/travis-ci/travis-ci/issues/5145
#
if Gem::Version.new(RUBY_VERSION.dup) < Gem::Version.new('2.0.0')
gem 'mime-types', '2.6.2'
gem 'rest-client', '1.8.0'
end
platforms :mri do
# to avoid problems, bring Byebug in on just versions of Ruby under which
# it's known to work well
if Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('2.0.0')
gem 'byebug'
gem 'pry-byebug'
end
end
end