1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Merge pull request #255 from gerrywastaken/fix-json-build-issues

Fix build issue with `json` gem
This commit is contained in:
Gerry 2016-07-04 19:20:03 +10:00 committed by GitHub
commit 846f6d5f8d
3 changed files with 4 additions and 0 deletions

View file

@ -4,6 +4,7 @@ end
appraise 'rails-4.0' do appraise 'rails-4.0' do
gem 'rails', '~> 4.0.0' gem 'rails', '~> 4.0.0'
gem 'json', '~> 1.8', :platforms => :ruby_19 # Json 2.0 requires Ruby >= 2.0
# The last version that doesn't need Ruby 2.0 and works with version 4.0 of # The last version that doesn't need Ruby 2.0 and works with version 4.0 of
# Rails. This addresses a build problem with Travis for version 1.9.3 of Ruby # Rails. This addresses a build problem with Travis for version 1.9.3 of Ruby
@ -37,6 +38,7 @@ end
appraise 'mongoid-3.1' do appraise 'mongoid-3.1' do
gem 'mongoid', '~> 3.1.0' gem 'mongoid', '~> 3.1.0'
gem 'json', '~> 1.8', :platforms => :ruby_19 # Json 2.0 requires Ruby >= 2.0
end end
appraise 'mongoid-4.0' do appraise 'mongoid-4.0' do

View file

@ -3,5 +3,6 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "mongoid", "~> 3.1.0" gem "mongoid", "~> 3.1.0"
gem "json", "~> 1.8", :platforms => :ruby_19
gemspec :path => "../" gemspec :path => "../"

View file

@ -3,6 +3,7 @@
source "https://rubygems.org" source "https://rubygems.org"
gem "rails", "~> 4.0.0" gem "rails", "~> 4.0.0"
gem "json", "~> 1.8", :platforms => :ruby_19
gem "mime-types", "2.6.2", :platforms => :ruby_19 gem "mime-types", "2.6.2", :platforms => :ruby_19
gemspec :path => "../" gemspec :path => "../"