File tree Expand file tree Collapse file tree 8 files changed +29
-10
lines changed
Expand file tree Collapse file tree 8 files changed +29
-10
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Time to move on to the next stage!
2727
2828Note: This section is for stages 2 and beyond.
2929
30- 1 . Ensure you have ` ruby (3.3 ) ` installed locally
30+ 1 . Ensure you have ` ruby (3.4 ) ` installed locally
31311 . Run ` ./your_program.sh ` to run your program, which is implemented in
3232 ` app/main.rb ` .
33331 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Ruby version used to run your code
88# on Codecrafters.
99#
10- # Available versions: ruby-3.3
11- buildpack : ruby-3.3
10+ # Available versions: ruby-3.4
11+ buildpack : ruby-3.4
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:1.7-labs
2+ FROM ruby:3.4-alpine3.23
3+
4+ # Required for installing the json/async gems
5+ RUN apk add --no-cache \
6+ build-base~=0.5 \
7+ libssl3~=3.5 \
8+ readline-dev~=8.3 \
9+ zlib-dev~=1.3
10+
11+ # Re-build if Gemfile or Gemfile.lock changes
12+ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Gemfile,Gemfile.lock"
13+
14+ WORKDIR /app
15+
16+ # .git & README.md are unique per-repository. We ignore them on first copy to prevent cache misses
17+ COPY --exclude=.git --exclude=README.md . /app
18+
19+ RUN bundle install --verbose
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Time to move on to the next stage!
2727
2828Note: This section is for stages 2 and beyond.
2929
30- 1 . Ensure you have ` ruby (3.3 ) ` installed locally
30+ 1 . Ensure you have ` ruby (3.4 ) ` installed locally
31311 . Run ` ./your_program.sh ` to run your program, which is implemented in
3232 ` app/main.rb ` .
33331 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Ruby version used to run your code
88# on Codecrafters.
99#
10- # Available versions: ruby-3.3
11- buildpack : ruby-3.3
10+ # Available versions: ruby-3.4
11+ buildpack : ruby-3.4
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ Time to move on to the next stage!
2727
2828Note: This section is for stages 2 and beyond.
2929
30- 1 . Ensure you have ` ruby (3.3 ) ` installed locally
30+ 1 . Ensure you have ` ruby (3.4 ) ` installed locally
31311 . Run ` ./your_program.sh ` to run your program, which is implemented in
3232 ` app/main.rb ` .
33331 . Commit your changes and run ` git push origin master ` to submit your solution
Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ debug: false
77# Use this to change the Ruby version used to run your code
88# on Codecrafters.
99#
10- # Available versions: ruby-3.3
11- buildpack : ruby-3.3
10+ # Available versions: ruby-3.4
11+ buildpack : ruby-3.4
Original file line number Diff line number Diff line change 11attributes :
2- required_executable : ruby (3.3 )
2+ required_executable : ruby (3.4 )
33 user_editable_file : app/main.rb
You can’t perform that action at this time.
0 commit comments