1717
1818appraise 'rails-4.0-with-therubyracer' do
1919 gem 'rails' , '~> 4.0.13'
20- gem 'therubyracer' , '0.12.0' , :platform => :mri
20+ gem 'therubyracer' , '0.12.0' , :platforms => :mri
2121 gem 'turbolinks'
2222end
2323
@@ -45,7 +45,7 @@ appraise 'rails-4.2-sprockets_4' do
4545 gem 'turbolinks' , '~> 2.5.0'
4646 # This ExecJS backend provides stateful context
4747 # which the default nodejs backend does not
48- gem 'mini_racer'
48+ gem 'mini_racer' , :platforms => :mri
4949end
5050
5151# no_sprockets is a magical name from sprockets_helper.rb in test to
@@ -55,31 +55,35 @@ appraise 'rails-5_no_sprockets_webpacker_1_1' do
5555 gem 'webpacker' , '~> 1.1.0'
5656 # This ExecJS backend provides stateful context
5757 # which the default nodejs backend does not
58- gem 'therubyracer'
58+ gem 'therubyracer' , :platforms => :mri
59+ gem 'therubyrhino' , :platforms => :jruby
5960end
6061
6162appraise 'rails-5_no_sprockets_webpacker_1_x' do
6263 gem 'rails' , '~> 5.0.0'
6364 gem 'webpacker' , '~> 1.2'
6465 # This ExecJS backend provides stateful context
6566 # which the default nodejs backend does not
66- gem 'therubyracer'
67+ gem 'therubyracer' , :platforms => :mri
68+ gem 'therubyrhino' , :platforms => :jruby
6769end
6870
6971appraise 'rails-5_no_sprockets_webpacker_2' do
7072 gem 'rails' , '~> 5.0.0'
7173 gem 'webpacker' , '~> 2.0'
7274 # This ExecJS backend provides stateful context
7375 # which the default nodejs backend does not
74- gem 'therubyracer'
76+ gem 'therubyracer' , :platforms => :mri
77+ gem 'therubyrhino' , :platforms => :jruby
7578end
7679
7780appraise 'rails-5_no_sprockets_webpacker_3' do
7881 gem 'rails' , '~> 5.0.0'
7982 gem 'webpacker' , '>= 3.0'
8083 # This ExecJS backend provides stateful context
8184 # which the default nodejs backend does not
82- gem 'therubyracer'
85+ gem 'therubyracer' , :platforms => :mri
86+ gem 'therubyrhino' , :platforms => :jruby
8387end
8488
8589appraise 'rails-5-no_sprockets' do
0 commit comments