Skip to content

Commit 0658089

Browse files
committed
Switch to mini_racer
1 parent 5c44c3d commit 0658089

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

Diff for: Gemfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ gem "rails-html-sanitizer"
4444
gem "react_on_rails", "~> 6"
4545

4646
# See https://github.com/sstephenson/execjs#readme for more supported runtimes
47-
gem "therubyracer"
47+
# mini_racer is probably faster than therubyracer
48+
gem "mini_racer"
4849

4950
gem "autoprefixer-rails"
5051

Diff for: Gemfile.lock

+4-6
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ GEM
117117
json (1.8.3)
118118
launchy (2.4.3)
119119
addressable (~> 2.3)
120-
libv8 (3.16.14.15)
120+
libv8 (5.0.71.48.3)
121121
listen (3.1.5)
122122
rb-fsevent (~> 0.9, >= 0.9.4)
123123
rb-inotify (~> 0.9, >= 0.9.7)
@@ -131,6 +131,8 @@ GEM
131131
mime-types-data (~> 3.2015)
132132
mime-types-data (3.2016.0521)
133133
mini_portile2 (2.1.0)
134+
mini_racer (0.1.4)
135+
libv8 (~> 5.0, < 5.1.11)
134136
minitest (5.9.0)
135137
multi_json (1.12.1)
136138
nio4r (1.2.1)
@@ -210,7 +212,6 @@ GEM
210212
foreman
211213
rails (>= 3.2)
212214
rainbow (~> 2.1)
213-
ref (2.0.0)
214215
rspec-core (3.5.0.beta3)
215216
rspec-support (= 3.5.0.beta3)
216217
rspec-expectations (3.5.0.beta3)
@@ -278,9 +279,6 @@ GEM
278279
sqlite3 (1.3.11)
279280
term-ansicolor (1.3.2)
280281
tins (~> 1.0)
281-
therubyracer (0.12.2)
282-
libv8 (~> 3.16.14.0)
283-
ref
284282
thor (0.19.1)
285283
thread_safe (0.3.5)
286284
tilt (2.0.5)
@@ -324,6 +322,7 @@ DEPENDENCIES
324322
jbuilder
325323
launchy
326324
listen
325+
mini_racer
327326
pg
328327
poltergeist
329328
pry
@@ -349,7 +348,6 @@ DEPENDENCIES
349348
spring
350349
spring-commands-rspec
351350
sqlite3
352-
therubyracer
353351
uglifier
354352
web-console
355353

0 commit comments

Comments
 (0)