Фиксим ошибку установки sq_mini_racer на macOS (libv8, extconf.rb)
Столкнулся со следующей ошибкой при установке рельсового проекта на macOS Catalina 10.15.4:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension. current directory: /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension /Users/user/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20200512-63781-go93se.rb extconf.rb checking for -lpthread... yes checking for -lobjc... yes Will try downloading libv8 gem: gem install --version '= 6.7.288.46.1' --install-dir gemdir libv8 ERROR: Error installing libv8: ERROR: Failed to build gem native extension. current directory: /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8 /Users/user/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20200512-64511-1mjzkop.rb extconf.rb creating Makefile ________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://chromium.googlesource.com/v8/v8.git /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_YnZDGe' in '/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor' Cloning into '/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/_gclient_v8_YnZDGe'... remote: Sending approximately 975.04 MiB ... remote: Counting objects: 1255 remote: Counting objects: 7721, done remote: Finding sources: 3% (2/61) remote: Finding sources: 6% (4/61) remote: Finding sources: 11% (6/61) remote: Finding sources: 14% (9/61) remote: Finding sources: 18% (11/61) remote: Finding sources: 21% (13/61) remote: Finding sources: 24% (15/61) remote: Finding sources: 29% (18/61) remote: Finding sources: 32% (20/61) remote: Finding sources: 36% (22/61) remote: Finding sources: 39% (24/61) remote: Finding sources: 44% (27/61) remote: Finding sources: 47% (29/61) remote: Finding sources: 50% (31/61) remote: Finding sources: 54% (33/61) remote: Finding sources: 59% (36/61) remote: Finding sources: 62% (38/61) remote: Finding sources: 65% (40/61) remote: Finding sources: 68% (42/61) remote: Finding sources: 73% (45/61) remote: Finding sources: 77% (47/61) remote: Finding sources: 80% (49/61) remote: Finding sources: 83% (51/61) remote: Finding sources: 88% (54/61) remote: Finding sources: 91% (56/61) remote: Finding sources: 95% (58/61) remote: Finding sources: 98% (60/61) remote: Finding sources: 100% (61/61) Receiving objects: 1% (7552/755196), 1.50 MiB | 2.99 MiB/s Receiving objects: 2% (15104/755196), 3.88 MiB | 3.84 Receiving objects: 3% (25541/755196), 6.94 MiB | 4.58 MiB/s Receiving objects: 4% (30208/755196), 10.50 MiB | 5.20 MiB/s Receiving objects: 5% (37760/755196), 15.50 MiB | 4.34 MiB/s Receiving objects: 6% (47210/755196), 15.50 MiB | 4.34 MiB/s Receiving objects: 7% (52864/755196), 22.04 MiB | 4.63 MiB/s Receiving objects: 8% (60416/755196), 22.04 MiB | 4.63 MiB/s Receiving objects: 10% (75520/755196), 29.29 MiB | 4.87 MiB/s Receiving objects: 11% (77006/755196), 29.29 MiB | 5.29 MiB/s Receiving objects: 12% (90624/755196), 32.70 MiB | 5.49 MiB/s Receiving objects: 13% (98176/755196), 41.17 MiB | 5.93 MiB/s Receiving objects: 14% (101309/755196), 44.11 MiB | 5.64 MiB/s Receiving objects: 15% (113280/755196), 52.50 MiB | 6.70 MiB/s Receiving objects: 16% (120832/755196), 56.17 MiB | 6.70 MiB/s Receiving objects: 17% (123252/755196), 57.88 MiB | 6.91 MiB/s Receiving objects: 17% (130010/755196), 63.61 MiB | 6.47 MiB/s Receiving objects: 18% (137442/755196), 65.99 MiB | 5.85 MiB/s Receiving objects: 19% (143215/755196), 70.02 MiB | 5.44 MiB/s Receiving objects: 20% (151040/755196), 76.33 MiB | 5.10 MiB/s Receiving objects: 21% (158592/755196), 82.10 MiB | 4.77 MiB/s Receiving objects: 22% (161322/755196), 82.10 MiB | 5.16 MiB/s Receiving objects: 22% (170904/755196), 88.54 MiB | 5.29 MiB/s Receiving objects: 23% (180234/755196), 93.97 MiB | 5.43 MiB/s Receiving objects: 24% (181248/755196), 93.97 MiB | 5.38 MiB/s Receiving objects: 25% (188799/755196), 100.41 MiB | 5.94 MiB/s Receiving objects: 26% (196351/755196), 106.41 MiB | 5.82 MiB/s Receiving objects: 27% (203903/755196), 108.97 MiB | 5.50 MiB/s Receiving objects: 28% (211455/755196), 115.65 MiB | 5.69 MiB/s Receiving objects: 29% (219007/755196), 115.65 MiB | 5.69 MiB/s Receiving objects: 30% (226559/755196), 121.28 MiB | 5.70 MiB/s Receiving objects: 31% (234111/755196), 125.15 MiB | 5.88 MiB/s Receiving objects: 32% (245488/755196), 127.65 MiB | 5.60 MiB/s Receiving objects: 33% (249215/755196), 131.09 MiB | 5.62 MiB/s Receiving objects: 34% (256767/755196), 132.82 MiB | 5.51 MiB/s Receiving objects: 35% (270541/755196), 136.59 MiB | 5.88 MiB/s Receiving objects: 36% (271871/755196), 141.53 MiB | 5.53 MiB/s Receiving objects: 37% (282600/755196), 144.65 MiB | 5.44 MiB/s Receiving objects: 38% (293139/755196), 144.65 MiB | 5.44 MiB/s Receiving objects: 39% (294527/755196), 150.46 MiB | 5.10 MiB/s Receiving objects: 40% (305550/755196), 153.95 MiB | 5.37 MiB/s Receiving objects: 42% (317183/755196), 156.52 MiB | 5.12 MiB/s Receiving objects: 42% (319196/755196), 159.95 MiB | 5.46 MiB/s Receiving objects: 44% (332287/755196), 162.64 MiB | 5.24 MiB/s Receiving objects: 46% (347391/755196), 162.64 MiB | 5.24 MiB/s Receiving objects: 47% (354943/755196), 165.33 MiB | 5.19 MiB/s Receiving objects: 48% (366341/755196), 165.33 MiB | 5.19 MiB/s Receiving objects: 50% (377598/755196), 167.51 MiB | 5.21 MiB/s Receiving objects: 51% (385150/755196), 167.51 MiB | 5.21 MiB/s Receiving objects: 53% (400254/755196), 167.51 MiB | 5.21 MiB/s Receiving objects: 54% (408371/755196), 171.45 MiB | 5.56 MiB/s Receiving objects: 54% (409855/755196), 178.07 MiB | 5.76 MiB/s Receiving objects: 54% (412114/755196), 189.76 MiB | 5.78 MiB/s Receiving objects: 55% (416723/755196), 191.77 MiB | 5.65 MiB/s Receiving objects: 56% (422910/755196), 196.86 MiB | 5.45 MiB/s Receiving objects: 56% (426793/755196), 203.86 MiB | 4.88 MiB/s Receiving objects: 56% (429560/755196), 208.69 MiB | 4.74 MiB/s Receiving objects: 57% (430462/755196), 216.04 MiB | 4.88 MiB/s Receiving objects: 57% (432565/755196), 225.09 MiB | 5.18 MiB/s Receiving objects: 57% (436106/755196), 232.05 MiB | 5.61 MiB/s Receiving objects: 57% (437785/755196), 240.18 MiB | 5.73 MiB/s [0:01:00] Still working on: MiB | 6.09 MiB/s [0:01:00] v8 Receiving objects: 58% (440302/755196), 249.61 MiB | 5.64 MiB/s Receiving objects: 58% (442115/755196), 259.57 MiB | 5.97 MiB/s Receiving objects: 59% (445566/755196), 272.72 MiB | 6.16 MiB/s Receiving objects: 59% (447491/755196), 272.72 MiB | 6.16 MiB/s Receiving objects: 59% (449102/755196), 286.40 MiB | 6.66 MiB/s Receiving objects: 60% (453118/755196), 295.64 MiB | 6.43 MiB/s Receiving objects: 60% (456432/755196), 299.09 MiB | 6.64 MiB/s [0:01:10] Still working on: [0:01:10] v8 Receiving objects: 61% (460670/755196), 313.59 MiB | 7.10 MiB/s Receiving objects: 61% (461124/755196), 321.90 MiB | 7.26 MiB/s Receiving objects: 61% (466250/755196), 335.58 MiB | 7.13 MiB/s Receiving objects: 62% (468881/755196), 339.71 MiB | 7.52 MiB/s Receiving objects: 62% (471026/755196), 350.52 MiB | 7.03 MiB/s Receiving objects: 63% (475774/755196), 362.98 MiB | 7.96 MiB/s Receiving objects: 63% (478774/755196), 366.18 MiB | 7.55 MiB/s [0:01:20] Stillts: 63% (480452/755196), 380.38 MiB | 6.69 MiB/s working on: [0:01:20] v8 Receiving objects: 64% (483326/755196), 384.51 MiB | 7.05 MiB/s Receiving objects: 64% (485571/755196), 394.00 MiB | 6.37 MiB/s Receiving objects: 64% (488361/755196), 404.69 MiB | 6.31 MiB/s Receiving objects: 65% (490878/755196), 410.67 MiB | 6.34 MiB/s Receiving objects: 65% (491720/755196), 416.62 MiB | 5.88 MiB/s Receiving objects: 65% (494690/755196), 428.01 MiB | 6.31 MiB/s Receiving objects: 65% (497816/755196), 434.05 MiB | 6.02 MiB/s [0:01:30] Stillts: 66% (498430/755196), 439.10 MiB | 5.81 MiB/s working on: [0:01:30] v8 Receiving objects: 66% (500476/755196), 445.80 MiB | 5.97 MiB/s Receiving objects: 66% (503226/755196), 460.65 MiB | 6.10 MiB/s Receiving objects: 66% (505896/755196), 470.10 MiB | 6.63 MiB/s Receiving objects: 67% (507355/755196), 470.10 MiB | 6.63 MiB/s Receiving objects: 67% (508622/755196), 480.72 MiB | 6.20 MiB/s Receiving objects: 67% (510705/755196), 492.47 MiB | 5.63 MiB/s [0:01:40] Still working on:1976/755196), 498.05 MiB | 5.83 MiB/s [0:01:40] v8 Receiving objects: 68% (513613/755196), 503.67 MiB | 5.49 MiB/s Receiving objects: 68% (515286/755196), 510.55 MiB | 5.74 MiB/s Receiving objects: 68% (519077/755196), 524.96 MiB | 6.61 MiB/s Receiving objects: 69% (521230/755196), 533.52 MiB | 7.37 MiB/s Receiving objects: 69% (523648/755196), 540.96 MiB | 6.99 MiB/s Receiving objects: 69% (526296/755196), 552.98 MiB | 6.53 MiB/s Receiving objects: 70% (528716/755196), 557.46 MiB | 6.81 MiB/s [0:01:50] Stillts: 70% (530717/755196), 565.74 MiB | 5.92 MiB/s working on: [0:01:50] v8 Receiving objects: 70% (534593/755196), 574.19 MiB | 6.46 MiB/s Receiving objects: 70% (535742/755196), 586.64 MiB | 7.43 MiB/s Receiving objects: 71% (537124/755196), 595.44 MiB | 7.63 MiB/s Receiving objects: 71% (540469/755196), 602.85 MiB | 7.92 MiB/s Receiving objects: 71% (541202/755196), 617.68 MiB | 7.43 MiB/s Receiving objects: 71% (543057/755196), 630.86 MiB | 6.77 MiB/s Receiving objects: 72% (546310/755196), 630.86 MiB | 6.77 MiB/s [0:02:00] Still working on: [0:02:00] v8 Receiving objects: 72% (548069/755196), 643.80 MiB | 6.65 MiB/s Receiving objects: 72% (549361/755196), 658.54 MiB | 7.01 MiB/s Receiving objects: 73% (554070/755196), 665.10 MiB | 7.31 MiB/s Receiving objects: 73% (558537/755196), 672.68 MiB | 6.90 MiB/s Receiving objects: 74% (558846/755196), 681.22 MiB | 7.08 MiB/s Receiving objects: 74% (563154/755196), 695.97 MiB | 6.82 MiB/s Receiving objects: 75% (566397/755196), 700.22 MiB | 6.95 MiB/s [0:02:10] Stillts: 75% (567924/755196), 708.21 MiB | 7.18 MiB/s working on: [0:02:10] v8 Receiving objects: 76% (573949/755196), 714.74 MiB | 6.95 MiB/s Receiving objects: 76% (575835/755196), 724.02 MiB | 7.19 MiB/s Receiving objects: 76% (578401/755196), 736.02 MiB | 7.00 MiB/s Receiving objects: 77% (581501/755196), 740.87 MiB | 6.37 MiB/s Receiving objects: 77% (581697/755196), 746.78 MiB | 6.28 MiB/s Receiving objects: 77% (588815/755196), 762.94 MiB | 6.54 MiB/s Receiving objects: 78% (593627/755196), 762.94 MiB | 6.54 MiB/s Receiving objects: 79% (596605/755196), 775.01 MiB | 7.57 MiB/s [0:02:20] Still working on: MiB | 7.67 MiB/s [0:02:20] v8 Receiving objects: 80% (604157/755196), 786.56 MiB | 7.70 MiB/s Receiving objects: 80% (606834/755196), 795.12 MiB | 8.05 MiB/s Receiving objects: 81% (611709/755196), 807.12 MiB | 7.84 MiB/s Receiving objects: 81% (617551/755196), 812.46 MiB | 8.29 MiB/s Receiving objects: 82% (619261/755196), 825.99 MiB | 8.48 MiB/s Receiving objects: 82% (626121/755196), 839.23 MiB | 8.19 MiB/s Receiving objects: 83% (631397/755196), 839.23 MiB | 8.19 MiB/s Receiving objects: 84% (634365/755196), 849.61 MiB | 8.62 MiB/s Receiving objects: 84% (639178/755196), 861.12 MiB | 8.24 MiB/s [0:02:30] Still working on: [0:02:30] v8 Receiving objects: 85% (642647/755196), 870.91 MiB | 8.34 MiB/s Receiving objects: 85% (645767/755196), 878.53 MiB | 8.52 MiB/s Receiving objects: 86% (649873/755196), 887.60 MiB | 8.25 MiB/s Receiving objects: 86% (656768/755196), 895.46 MiB | 8.47 MiB/s Receiving objects: 87% (657021/755196), 904.21 MiB | 8.48 MiB/s Receiving objects: 87% (664365/755196), 917.40 MiB | 7.28 MiB/s Receiving objects: 88% (670802/755196), 917.40 MiB | 7.28 MiB/s Receiving objects: 89% (672125/755196), 924.89 MiB | 7.13 MiB/s Receiving objects: 90% (679677/755196), 931.21 MiB | 6.70 MiB/s Receiving objects: 91% (689475/755196), 934.95 MiB | 6.51 MiB/s [0:02:40] Stillts: 92% (694781/755196), 938.62 MiB | 6.72 MiB/s working on: [0:02:40] v8 Receiving objects: 93% (702333/755196), 942.64 MiB | 6.83 MiB/s Receiving objects: 93% (708759/755196), 948.76 MiB | 6.58 MiB/s Receiving objects: 95% (717437/755196), 954.32 MiB | 6.15 MiB/s Receiving objects: 96% (724989/755196), 954.32 MiB | 6.15 MiB/s Receiving objects: 96% (727983/755196), 961.83 MiB | 6.46 MiB/s Receiving objects: 98% (740093/755196), 965.11 MiB | 6.39 MiB/s Receiving objects: 99% (747645/755196), 969.79 MiB | 6.60 MiB/s remote: Total 755196 (delta 595795), reused 755169 (delta 595795) Receiving objects: 100% (755196/755196), 972.37 MiB | 6.31 MiB/s 975.11 MiB | 6.52 MiB/s, done. Resolving deltas: 1% (8975/595795) Resolving deltas: 3% (17891/595795) Resolving deltas: 5% (29854/595795) Resolving deltas: 7% (41706/595795) Resolving deltas: 9% (53629/595795) [0:02:50] Still working on: [0:02:50] v8 Resolving deltas: 11% (59603/595795) Resolving deltas: 13% (77459/595795) Resolving deltas: 15% (89370/595795) Resolving deltas: 17% (101318/595795) Resolving deltas: 19% (111702/595795) Resolving deltas: 21% (125118/595795) Resolving deltas: 23% (137035/595795) Resolving deltas: 25% (145002/595795) Resolving deltas: 27% (160868/595795) Resolving deltas: 30% (178745/595795) Resolving deltas: 32% (184703/595795) Resolving deltas: 33% (197680/595795) Resolving deltas: 35% (213252/595795) [0:03:00] Still working on:493/595795) [0:03:00] v8 Resolving deltas: 38% (226608/595795) Resolving deltas: 40% (238474/595795) Resolving deltas: 43% (256194/595795) Resolving deltas: 46% (268277/595795) Resolving deltas: 47% (281739/595795) Resolving deltas: 49% (293742/595795) Resolving deltas: 51% (299274/595795) Resolving deltas: 52% (309818/595795) Resolving deltas: 54% (321825/595795) Resolving deltas: 57% (333648/595795) Resolving deltas: 58% (345569/595795) Resolving deltas: 60% (358475/595795) [0:03:10] Still working on:913/595795) [0:03:10] v8 Resolving deltas: 62% (369394/595795) Resolving deltas: 63% (375489/595795) Resolving deltas: 64% (381309/595795) Resolving deltas: 65% (384683/595795) Resolving deltas: 66% (393233/595795) [0:03:20] Still working on:184/595795) [0:03:20] v8 Resolving deltas: 68% (405175/595795) Resolving deltas: 69% (412203/595795) Resolving deltas: 70% (421274/595795) Resolving deltas: 72% (425321/595795) Resolving deltas: 73% (434931/595795) Resolving deltas: 74% (440892/595795) [0:03:30] Still working on: [0:03:30] v8 Resolving deltas: 74% (443372/595795) Resolving deltas: 75% (447550/595795) Resolving deltas: 75% (452187/595795) [0:03:40] Still working on:818/595795) [0:03:40] v8 Resolving deltas: 76% (454991/595795) Resolving deltas: 76% (458382/595795) Resolving deltas: 77% (458981/595795) Resolving deltas: 78% (463087/595795) [0:03:50] Still working on: [0:03:50] v8 Resolving deltas: 78% (467013/595795) Resolving deltas: 79% (470733/595795) Resolving deltas: 80% (476735/595795) Resolving deltas: 82% (482602/595795) Resolving deltas: 83% (494541/595795) [0:04:00] Still working on:484/595795) [0:04:00] v8 Resolving deltas: 85% (506499/595795) Resolving deltas: 86% (513574/595795) Resolving deltas: 87% (523398/595795) Resolving deltas: 89% (526630/595795) Resolving deltas: 89% (535596/595795) Resolving deltas: 91% (542176/595795) [0:04:10] Still working on:260/595795) [0:04:10] v8 Resolving deltas: 93% (554091/595795) Resolving deltas: 94% (560882/595795) Resolving deltas: 95% (567800/595795) Resolving deltas: 97% (574831/595795) Resolving deltas: 98% (583909/595795) Resolving deltas: 99% (595291/595795) Resolving deltas: 100% (595795/595795), done. [0:04:20] Still working on: [0:04:20] v8 [0:04:30] Still working on: [0:04:30] v8 [0:04:40] Still working on: [0:04:40] v8 [0:04:50] Still working on: [0:04:50] v8 [0:04:55] Still working on: [0:04:55] v8 Error: Command 'cipd ensure -log-level error -root /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor -ensure-file /var/folders/zf/3pjxvky96qn7v82lqbhs19qc0000gn/T/tmp8BdB1Z.ensure' returned non-zero exit status 1 ________ running 'cipd ensure -log-level error -root /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor -ensure-file /var/folders/zf/3pjxvky96qn7v82lqbhs19qc0000gn/T/tmp8BdB1Z.ensure' in '.' Error: failed to resolve package version (line 5): bad version (not an instance ID, a ref or a tag): "M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC". Running: gclient root Running: gclient config --spec 'solutions = [ { "url": "https://chromium.googlesource.com/v8/v8.git", "managed": False, "name": "v8", "deps_file": "DEPS", "custom_deps": {}, }, ] ' Running: gclient sync --with_branch_heads Traceback (most recent call last): File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 306, in <module> sys.exit(main()) File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 301, in main return run(options, spec, root) File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 295, in run return checkout.init() File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 137, in init self.run_gclient(*sync_cmd) File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 82, in run_gclient return self.run(cmd_prefix + cmd, **kwargs) File "/Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/vendor/depot_tools/fetch.py", line 71, in run subprocess.check_call(cmd, **kwargs) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 190, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '('gclient', 'sync', '--with_branch_heads')' returned non-zero exit status 1 /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:79:in `block in setup_build_deps!': unable to fetch v8 source (RuntimeError) from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `chdir' from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:77:in `setup_build_deps!' from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/builder.rb:36:in `build_libv8!' from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/location.rb:24:in `install!' from extconf.rb:7:in `<main>' extconf failed, exit code 1 Gem files will remain installed in /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1 for inspection. Results logged to /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/extensions/x86_64-darwin-19/2.4.0/libv8-6.7.288.46.1/gem_make.out WARNING: Could not download a private copy of the libv8 gem. Please make sure that you have internet access and that the `gem` binary is available. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/user/.rbenv/versions/2.4.1/bin/$(RUBY_BASE_NAME) --with-pthreadlib --without-pthreadlib --with-objclib --without-objclib --enable-avx2 --disable-avx2 --enable-debug --disable-debug /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/location.rb:15:in `initialize': No such file or directory @ rb_sysopen - /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/.location.yml (Errno::ENOENT) from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/location.rb:15:in `open' from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/ext/libv8/location.rb:15:in `load!' from /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3/ext/mini_racer_extension/gemdir/gems/libv8-6.7.288.46.1/lib/libv8.rb:6:in `configure_makefile' from extconf.rb:158:in `<main>' To see why this extension failed to compile, please check the mkmf.log which can be found here: /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-19/2.4.0/sq_mini_racer-0.2.4.sqreen3/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/sq_mini_racer-0.2.4.sqreen3 for inspection. Results logged to /Users/user/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/extensions/x86_64-darwin-19/2.4.0/sq_mini_racer-0.2.4.sqreen3/gem_make.out An error occurred while installing sq_mini_racer (0.2.4.sqreen3), and Bundler cannot continue. Make sure that `gem install sq_mini_racer -v '0.2.4.sqreen3'` succeeds before bundling.
Чтобы пофиксить ошибку "An error occurred while installing sq_mini_racer (0.2.4.sqreen3), and Bundler cannot continue.
Make sure that `gem install sq_mini_racer -v '0.2.4.sqreen3'` succeeds before bundling." нужно обновить gem sq_mini_racer до последней версии.
Теперь при запуске bundle install sq_mini_racer не будет ругаться на зависимости.
Проблема в том, что для новой macOS Catalina зависимости устарели и работают неправильно.
sq_mini_racer (форк mini_racer) зависит от libv8, а libv8 зависит от v8...
Аналогичная проблема возникает в проектах с gem mini_racer - чтобы он не ругался на зависимости, обновите его, чтобы он работал с Catalina.