mirror of
https://github.com/usetrmnl/trmnl-api.git
synced 2026-04-29 13:35:13 -07:00
3f27ef9793
link:https://www.ruby-lang.org/en/news/2025/12/25/ruby-4-0-0-released[Details]. Milestone: minor
17 lines
387 B
Ruby
Executable File
17 lines
387 B
Ruby
Executable File
#! /usr/bin/env ruby
|
|
# frozen_string_literal: true
|
|
|
|
require "debug"
|
|
require "fileutils"
|
|
|
|
APP_ROOT = Pathname(__dir__).join("..").expand_path
|
|
|
|
Runner = lambda do |*arguments, kernel: Kernel|
|
|
kernel.system(*arguments) || kernel.abort("\nERROR: Command #{arguments.inspect} failed.")
|
|
end
|
|
|
|
FileUtils.chdir APP_ROOT do
|
|
puts "Installing dependencies..."
|
|
Runner.call "bundle install"
|
|
end
|