Skip to content

Commit 770ef72

Browse files
authored
[ruby-padrino] Pin rack version to 2.2 (#8854)
Padrino doesn't work yet with rack 3. Also remove deprecated `--path` option from bundle command.
1 parent 4424685 commit 770ef72

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

frameworks/Ruby/padrino/Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ gem 'slim', '2.0.3'
88
gem 'dm-mysql-adapter', '1.2.0'
99
gem 'dm-core', '1.2.1'
1010
gem 'padrino', '0.15.3'
11+
gem 'rack', '~> 2.2'

frameworks/Ruby/padrino/padrino-unicorn.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY config.ru config.ru
99
COPY Gemfile Gemfile
1010
COPY Rakefile Rakefile
1111

12-
RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile --path=/padrino/padrino/bundle
12+
RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile
1313

1414
RUN apt-get update -yqq && apt-get install -yqq nginx
1515

frameworks/Ruby/padrino/padrino.dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ COPY config.ru config.ru
99
COPY Gemfile Gemfile
1010
COPY Rakefile Rakefile
1111

12-
RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile --path=/padrino/padrino/bundle
12+
RUN bundle install --jobs=4 --gemfile=/padrino/Gemfile
1313

1414
EXPOSE 8080
1515

0 commit comments

Comments
 (0)