core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-3_1.snap.json
core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-3_1.snap.jsonBrowse 1970 files
1,144 tokens
3,468 bytes
Token encoding: o200k_base
Snapshot 21a254f
← Back to SKILL.md
1{2 "caches": {3 "apt": {4 "directory": "/var/cache/apt",5 "type": "locked"6 },7 "apt-lists": {8 "directory": "/var/lib/apt/lists",9 "type": "locked"10 }11 },12 "deploy": {13 "base": {14 "step": "packages:apt:runtime"15 },16 "inputs": [17 {18 "include": [19 "/mise/shims",20 "/mise/installs",21 "/usr/local/bin/mise",22 "/etc/mise/config.toml",23 "/root/.local/state/mise"24 ],25 "step": "packages:mise"26 },27 {28 "include": [29 "/usr/local/bundle"30 ],31 "step": "install"32 },33 {34 "include": [35 "/app"36 ],37 "step": "build"38 }39 ],40 "startCommand": "ruby --enable-yjit app.rb",41 "variables": {42 "BUNDLE_GEMFILE": "/app/Gemfile",43 "GEM_HOME": "/usr/local/bundle",44 "GEM_PATH": "/usr/local/bundle",45 "LD_PRELOAD": "libjemalloc.so.2",46 "MALLOC_ARENA_MAX": "2",47 "RAILPACK_VERSION": "dev"48 }49 },50 "steps": [51 {52 "caches": [53 "apt",54 "apt-lists"55 ],56 "commands": [57 {58 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y cargo libjemalloc-dev libyaml-dev rustc'",59 "customName": "install apt packages: cargo libjemalloc-dev libyaml-dev rustc"60 }61 ],62 "inputs": [63 {64 "image": "ghcr.io/railwayapp/railpack-builder:mise-2026.9.9"65 }66 ],67 "name": "packages:apt:build"68 },69 {70 "assets": {71 "generated-mise-toml": "[generated-mise-toml]"72 },73 "commands": [74 {75 "path": "/mise/shims"76 },77 {78 "dest": ".ruby-version",79 "src": ".ruby-version"80 },81 {82 "dest": "Gemfile",83 "src": "Gemfile"84 },85 {86 "customName": "create mise config",87 "name": "generated-mise-toml",88 "path": "/etc/mise/config.toml"89 },90 {91 "cmd": "mise install",92 "customName": "install mise packages: ruby"93 }94 ],95 "inputs": [96 {97 "step": "packages:apt:build"98 }99 ],100 "name": "packages:mise",101 "variables": {102 "MISE_CACHE_DIR": "/mise/cache",103 "MISE_CONFIG_DIR": "/mise",104 "MISE_DATA_DIR": "/mise",105 "MISE_INSTALLS_DIR": "/mise/installs",106 "MISE_SHIMS_DIR": "/mise/shims",107 "RUBY_CONFIGURE_OPTS": "--disable-install-doc"108 }109 },110 {111 "commands": [112 {113 "cmd": "gem install -N bundler:2.4.9"114 },115 {116 "dest": "Gemfile",117 "src": "Gemfile"118 },119 {120 "dest": "Gemfile.lock",121 "src": "Gemfile.lock"122 },123 {124 "cmd": "bundle install"125 },126 {127 "path": "/usr/local/bundle"128 }129 ],130 "inputs": [131 {132 "step": "packages:mise"133 }134 ],135 "name": "install",136 "variables": {137 "BUNDLE_GEMFILE": "/app/Gemfile",138 "GEM_HOME": "/usr/local/bundle",139 "GEM_PATH": "/usr/local/bundle",140 "LD_PRELOAD": "libjemalloc.so.2",141 "MALLOC_ARENA_MAX": "2"142 }143 },144 {145 "inputs": [146 {147 "step": "install"148 },149 {150 "include": [151 "."152 ],153 "local": true154 }155 ],156 "name": "build",157 "variables": {158 "BUNDLE_GEMFILE": "/app/Gemfile",159 "GEM_HOME": "/usr/local/bundle",160 "GEM_PATH": "/usr/local/bundle",161 "LD_PRELOAD": "libjemalloc.so.2",162 "MALLOC_ARENA_MAX": "2"163 }164 },165 {166 "caches": [167 "apt",168 "apt-lists"169 ],170 "commands": [171 {172 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y libjemalloc2 libyaml-dev'",173 "customName": "install apt packages: libjemalloc2 libyaml-dev"174 }175 ],176 "inputs": [177 {178 "image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.9.9"179 }180 ],181 "name": "packages:apt:runtime"182 }183 ]184}