core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-rails-postgres_1.snap.json
core/__snapshots__/TestGenerateBuildPlanForExamples_ruby-rails-postgres_1.snap.jsonBrowse 1970 files
1,294 tokens
3,967 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 "lib/"37 ],38 "step": "build"39 }40 ],41 "startCommand": "rake db:migrate \u0026\u0026 bundle exec bin/rails server -b 0.0.0.0 -p ${PORT:-3000}",42 "variables": {43 "BUNDLE_GEMFILE": "/app/Gemfile",44 "GEM_HOME": "/usr/local/bundle",45 "GEM_PATH": "/usr/local/bundle",46 "LD_PRELOAD": "libjemalloc.so.2",47 "MALLOC_ARENA_MAX": "2",48 "RAILPACK_VERSION": "dev"49 }50 },51 "steps": [52 {53 "caches": [54 "apt",55 "apt-lists"56 ],57 "commands": [58 {59 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y cargo libjemalloc-dev libyaml-dev rustc'",60 "customName": "install apt packages: cargo libjemalloc-dev libyaml-dev rustc"61 }62 ],63 "inputs": [64 {65 "image": "ghcr.io/railwayapp/railpack-builder:mise-2026.9.9"66 }67 ],68 "name": "packages:apt:build"69 },70 {71 "assets": {72 "generated-mise-toml": "[generated-mise-toml]"73 },74 "commands": [75 {76 "path": "/mise/shims"77 },78 {79 "dest": ".ruby-version",80 "src": ".ruby-version"81 },82 {83 "dest": "Gemfile",84 "src": "Gemfile"85 },86 {87 "customName": "create mise config",88 "name": "generated-mise-toml",89 "path": "/etc/mise/config.toml"90 },91 {92 "cmd": "mise install",93 "customName": "install mise packages: ruby"94 }95 ],96 "inputs": [97 {98 "step": "packages:apt:build"99 }100 ],101 "name": "packages:mise",102 "variables": {103 "MISE_CACHE_DIR": "/mise/cache",104 "MISE_CONFIG_DIR": "/mise",105 "MISE_DATA_DIR": "/mise",106 "MISE_INSTALLS_DIR": "/mise/installs",107 "MISE_SHIMS_DIR": "/mise/shims",108 "RUBY_CONFIGURE_OPTS": "--disable-install-doc"109 }110 },111 {112 "commands": [113 {114 "cmd": "gem install -N bundler:2.4.9"115 },116 {117 "dest": "Gemfile",118 "src": "Gemfile"119 },120 {121 "dest": "Gemfile.lock",122 "src": "Gemfile.lock"123 },124 {125 "cmd": "bundle install"126 },127 {128 "cmd": "bundle exec bootsnap precompile --gemfile"129 },130 {131 "path": "/usr/local/bundle"132 }133 ],134 "inputs": [135 {136 "step": "packages:mise"137 }138 ],139 "name": "install",140 "variables": {141 "BUNDLE_GEMFILE": "/app/Gemfile",142 "GEM_HOME": "/usr/local/bundle",143 "GEM_PATH": "/usr/local/bundle",144 "LD_PRELOAD": "libjemalloc.so.2",145 "MALLOC_ARENA_MAX": "2"146 }147 },148 {149 "commands": [150 {151 "cmd": "bundle exec rake assets:precompile"152 },153 {154 "cmd": "bundle exec bootsnap precompile app/ lib/"155 }156 ],157 "inputs": [158 {159 "step": "install"160 },161 {162 "include": [163 "."164 ],165 "local": true166 }167 ],168 "name": "build",169 "variables": {170 "BUNDLE_GEMFILE": "/app/Gemfile",171 "GEM_HOME": "/usr/local/bundle",172 "GEM_PATH": "/usr/local/bundle",173 "LD_PRELOAD": "libjemalloc.so.2",174 "MALLOC_ARENA_MAX": "2"175 }176 },177 {178 "caches": [179 "apt",180 "apt-lists"181 ],182 "commands": [183 {184 "cmd": "sh -c 'apt-get update \u0026\u0026 apt-get install -y default-libmysqlclient-dev libicu-dev libjemalloc2 libmagickwand-dev libpq-dev libvips-dev libxml2-dev libxslt-dev libyaml-dev'",185 "customName": "install apt packages: default-libmysqlclient-dev libicu-dev libjemalloc2 libmagickwand-dev libpq-dev libvips-dev libxml2-dev libxslt-dev libyaml-dev"186 }187 ],188 "inputs": [189 {190 "image": "ghcr.io/railwayapp/railpack-runtime:mise-2026.9.9"191 }192 ],193 "name": "packages:apt:runtime"194 }195 ]196}