mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Here we predicate the installation of Byebug on being on the MRI. This allows us to `bundle install` on alternate platforms like JRuby. Also performs some Gemfile management: add latest MRI and JRuby versions and remove special case Gemfiles.
21 lines
420 B
Ruby
21 lines
420 B
Ruby
source "https://rubygems.org"
|
|
|
|
gemspec
|
|
|
|
group :development do
|
|
gem 'mocha', '~> 0.13.2'
|
|
gem 'pry'
|
|
gem 'rake'
|
|
gem 'shoulda', '~> 3.4.0'
|
|
gem 'test-unit'
|
|
|
|
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
|