Skip to content

Conversation

@schneems
Copy link
Contributor

@schneems schneems commented Dec 2, 2025

The goal is to install Ruby and Bundler versions before instantiating any "language pack" because the detect logic checks if specific gems are installed. By moving moving this logic to a class method, we can decouple it from the detection lifecycle.

@schneems schneems changed the title Move ruby version logic to class method WIP move Ruby and Bundler install logic Dec 2, 2025
The goal is to install Ruby and Bundler versions before instantiating any "language pack" because the `detect` logic checks if specific gems are installed. By moving moving this logic to a class method, we can decouple it from the detection lifecycle.
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 80c8dd4 to f158ffc Compare December 2, 2025 21:55
The goal is to install Ruby and Bundler versions before instantiating any "language pack" because the `detect` logic checks if specific gems are installed. By moving moving this logic to a class method, we can decouple it from the detection lifecycle.
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from e3785ac to 6b5e358 Compare December 2, 2025 22:22
The goal is to install Ruby and Bundler versions before instantiating any "language pack" because the `detect` logic checks if specific gems are installed. By moving moving this logic to a class method, we can decouple it from the detection lifecycle.
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch 2 times, most recently from 272aa1f to c4b0f53 Compare December 2, 2025 23:28
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from c4b0f53 to f9303df Compare December 2, 2025 23:33
Both `ruby_layer_path` and `gem_layer_path` point at the same value which is better defined as "app_path".
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch 2 times, most recently from d7f1af8 to 9156318 Compare December 3, 2025 02:26
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 9156318 to 98ab5e1 Compare December 3, 2025 02:29
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 3ce0c35 to 1a67f36 Compare December 3, 2025 02:50
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from c2e8106 to 3853863 Compare December 3, 2025 03:01
The syntax highlighting  doesn't like there combination of heredoc and ERB, moving it is an ergonomic QOL improvement for developers using an IDE with syntax highlighting.
Added in 74b4284 this was when the stack image included a copy of java, which it no longer does. The local `bin` dir is put on the path in the general case but this was never refactored away.
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 7a0a03e to aaa2c74 Compare December 4, 2025 21:18
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 9b20e5f to b10c4da Compare December 4, 2025 22:34
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 3eed7ce to abeecc4 Compare December 5, 2025 01:08
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 6446332 to 9bd851a Compare December 5, 2025 20:58
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 9eb2e01 to 45e20d4 Compare December 5, 2025 21:34
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch 2 times, most recently from c6eade5 to 9898084 Compare December 5, 2025 22:16
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from 9898084 to b08b8d0 Compare December 5, 2025 22:25
@schneems schneems force-pushed the schneems/explicit-bundler-version-2025-12 branch from bd80e90 to 44c9ab4 Compare December 8, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant