Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions compiled_starters/ruby/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ source "https://rubygems.org"

# Add gems here if you need to use them.
# Make sure to run `bundle install` before running tests or submitting your code.
gem "readline"
7 changes: 7 additions & 0 deletions compiled_starters/ruby/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
GEM
remote: https://rubygems.org/
specs:
io-console (0.8.0)
readline (0.0.4)
reline
reline (0.6.1)
io-console (~> 0.5)

PLATFORMS
aarch64-linux-musl
arm64-darwin-21
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
readline

BUNDLED WITH
2.5.10
5 changes: 5 additions & 0 deletions dockerfiles/ruby-3.3.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@ ENV CODECRAFTERS_DEPENDENCY_FILE_PATHS="Gemfile,Gemfile.lock"
WORKDIR /app

COPY Gemfile Gemfile.lock ./

# Install build dependencies (for native extensions)
RUN apk add --no-cache build-base=0.5-r3 "readline-dev>=8.2.0-r0"

# Install dependencies
RUN bundle install --verbose
1 change: 1 addition & 0 deletions solutions/ruby/01-oo8/code/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ source "https://rubygems.org"

# Add gems here if you need to use them.
# Make sure to run `bundle install` before running tests or submitting your code.
gem "readline"
7 changes: 7 additions & 0 deletions solutions/ruby/01-oo8/code/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
GEM
remote: https://rubygems.org/
specs:
io-console (0.8.0)
readline (0.0.4)
reline
reline (0.6.1)
io-console (~> 0.5)

PLATFORMS
aarch64-linux-musl
arm64-darwin-21
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
readline

BUNDLED WITH
2.5.10
1 change: 1 addition & 0 deletions starter_templates/ruby/code/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ source "https://rubygems.org"

# Add gems here if you need to use them.
# Make sure to run `bundle install` before running tests or submitting your code.
gem "readline"
7 changes: 7 additions & 0 deletions starter_templates/ruby/code/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
GEM
remote: https://rubygems.org/
specs:
io-console (0.8.0)
readline (0.0.4)
reline
reline (0.6.1)
io-console (~> 0.5)

PLATFORMS
aarch64-linux-musl
arm64-darwin-21
arm64-darwin-23
arm64-darwin-24
x86_64-linux

DEPENDENCIES
readline

BUNDLED WITH
2.5.10
Loading