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,8 @@ 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
49+ gem 'therubyrhino' , :platforms => :jruby
4950end
5051
5152# no_sprockets is a magical name from sprockets_helper.rb in test to
@@ -55,31 +56,35 @@ appraise 'rails-5_no_sprockets_webpacker_1_1' do
5556 gem 'webpacker' , '~> 1.1.0'
5657 # This ExecJS backend provides stateful context
5758 # which the default nodejs backend does not
58- gem 'therubyracer'
59+ gem 'therubyracer' , :platforms => :mri
60+ gem 'therubyrhino' , :platforms => :jruby
5961end
6062
6163appraise 'rails-5_no_sprockets_webpacker_1_x' do
6264 gem 'rails' , '~> 5.0.0'
6365 gem 'webpacker' , '~> 1.2'
6466 # This ExecJS backend provides stateful context
6567 # which the default nodejs backend does not
66- gem 'therubyracer'
68+ gem 'therubyracer' , :platforms => :mri
69+ gem 'therubyrhino' , :platforms => :jruby
6770end
6871
6972appraise 'rails-5_no_sprockets_webpacker_2' do
7073 gem 'rails' , '~> 5.0.0'
7174 gem 'webpacker' , '~> 2.0'
7275 # This ExecJS backend provides stateful context
7376 # which the default nodejs backend does not
74- gem 'therubyracer'
77+ gem 'therubyracer' , :platforms => :mri
78+ gem 'therubyrhino' , :platforms => :jruby
7579end
7680
7781appraise 'rails-5_no_sprockets_webpacker_3' do
7882 gem 'rails' , '~> 5.0.0'
7983 gem 'webpacker' , '>= 3.0'
8084 # This ExecJS backend provides stateful context
8185 # which the default nodejs backend does not
82- gem 'therubyracer'
86+ gem 'therubyracer' , :platforms => :mri
87+ gem 'therubyrhino' , :platforms => :jruby
8388end
8489
8590appraise 'rails-5-no_sprockets' do
0 commit comments