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
4 changes: 0 additions & 4 deletions frameworks/Ruby/rails/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ group :puma do
gem 'puma', '~> 6.4', require: false
end

group :unicorn do
gem 'unicorn', '~> 6.1', require: false
end

group :agoo do
gem 'agoo', require: false
gem 'rackup'
Expand Down
6 changes: 0 additions & 6 deletions frameworks/Ruby/rails/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ GEM
rdoc (>= 4.0.0)
reline (>= 0.4.2)
json (2.8.1)
kgio (2.11.4)
localhost (1.3.1)
logger (1.6.1)
loofah (2.22.0)
Expand Down Expand Up @@ -230,7 +229,6 @@ GEM
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
raindrops (0.20.1)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
Expand All @@ -253,9 +251,6 @@ GEM
concurrent-ruby (~> 1.0)
tzinfo-data (1.2024.2)
tzinfo (>= 1.0.0)
unicorn (6.1.0)
kgio (~> 2.6)
raindrops (~> 0.7)
useragent (0.16.10)
webrick (1.8.2)
websocket-driver (0.7.6)
Expand All @@ -278,7 +273,6 @@ DEPENDENCIES
redis (~> 5.0)
trilogy (~> 2.8.1)
tzinfo-data
unicorn (~> 6.1)

BUNDLED WITH
2.3.3
2 changes: 1 addition & 1 deletion frameworks/Ruby/rails/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ comparing a variety of web platforms.
The tests were run with:

- [Ruby 3.3](http://www.ruby-lang.org/)
- [Rails 7.1](http://rubyonrails.org/)
- [Rails 7.2](http://rubyonrails.org/)
- [Puma 6.4](http://puma.io/)
- [MySQL](https://dev.mysql.com/)
- [PostgreSQL](https://www.postgresql.org/)
Expand Down
2 changes: 1 addition & 1 deletion frameworks/Ruby/rails/rails-agoo.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ENV LD_PRELOAD=libjemalloc.so.2
COPY ./Gemfile* /rails/

ENV BUNDLE_FORCE_RUBY_PLATFORM=true
ENV BUNDLE_WITHOUT=trilogy
ENV BUNDLE_WITHOUT=mysql:falcon:puma
RUN bundle install --jobs=8

COPY . /rails/
Expand Down
3 changes: 2 additions & 1 deletion frameworks/Ruby/rails/rails-falcon.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ ENV LD_PRELOAD=libjemalloc.so.2
COPY ./Gemfile* /rails/

ENV BUNDLE_FORCE_RUBY_PLATFORM=true
ENV BUNDLE_WITHOUT=mysql
ENV BUNDLE_WITHOUT=mysql:agoo:puma
RUN bundle install --jobs=8

COPY . /rails/

ENV RAILS_ENV=production_postgresql
ENV PORT=8080
ENV REDIS_URL=redis://localhost:6379/0
CMD service redis-server start
CMD bundle exec falcon host
5 changes: 3 additions & 2 deletions frameworks/Ruby/rails/rails-mysql.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ ENV LD_PRELOAD=libjemalloc.so.2
COPY ./Gemfile* /rails/

ENV BUNDLE_FORCE_RUBY_PLATFORM=true
ENV BUNDLE_WITHOUT=postgresql
ENV BUNDLE_WITHOUT=postgresql:agoo:falcon
RUN bundle install --jobs=8

COPY . /rails/

ENV RAILS_ENV=production_mysql
ENV PORT=8080
ENV REDIS_URL=redis://localhost:6379/0
CMD ./run-with-redis.sh
CMD service redis-server start
CMD rails server
5 changes: 3 additions & 2 deletions frameworks/Ruby/rails/rails.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,13 @@ ENV LD_PRELOAD=libjemalloc.so.2
COPY ./Gemfile* /rails/

ENV BUNDLE_FORCE_RUBY_PLATFORM=true
ENV BUNDLE_WITHOUT=mysql
ENV BUNDLE_WITHOUT=mysql:agoo:falcon
RUN bundle install --jobs=8

COPY . /rails/

ENV RAILS_ENV=production_postgresql
ENV PORT=8080
ENV REDIS_URL=redis://localhost:6379/0
CMD ./run-with-redis.sh
CMD service redis-server start
CMD rails server
3 changes: 0 additions & 3 deletions frameworks/Ruby/rails/run-with-redis.sh

This file was deleted.

Loading