1
0
mirror of https://github.com/projekteuler/projekteuler.git synced 2026-01-27 02:28:50 +01:00

Update rails, gems, use MathJax over CDN

This commit is contained in:
2019-01-29 22:09:57 +01:00
parent 71ffb30880
commit 73d6528c7f
17 changed files with 290 additions and 249 deletions

View File

@@ -1,8 +1,8 @@
#!/usr/bin/env ruby.exe
VENDOR_PATH = File.expand_path('..', __dir__)
Dir.chdir(VENDOR_PATH) do
APP_ROOT = File.expand_path('..', __dir__)
Dir.chdir(APP_ROOT) do
begin
exec "yarnpkg #{ARGV.join(" ")}"
exec "yarnpkg", *ARGV
rescue Errno::ENOENT
$stderr.puts "Yarn executable was not detected in the system."
$stderr.puts "Download Yarn at https://yarnpkg.com/en/docs/install"