We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f3624d commit 10da84cCopy full SHA for 10da84c
.github/workflows/ci.yml
@@ -64,7 +64,7 @@ jobs:
64
# options: --health-cmd "redis-cli ping" --health-interval 10s --health-timeout 5s --health-retries 5
65
steps:
66
- name: Install packages
67
- run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips libsqlite3-0
+ run: sudo apt-get update && sudo apt-get install --no-install-recommends -y google-chrome-stable curl libjemalloc2 libsqlite3-0 libvips
68
69
- name: Checkout code
70
uses: actions/checkout@v4
Dockerfile
@@ -8,7 +8,7 @@
8
9
# Make sure RUBY_VERSION matches the Ruby version in .ruby-version
10
ARG RUBY_VERSION=your-ruby-version
11
-FROM docker.io/library/ruby:$RUBY_VERSION-slim as base
+FROM docker.io/library/ruby:$RUBY_VERSION-slim AS base
12
13
# Rails app lives here
14
WORKDIR /rails
@@ -25,7 +25,7 @@ ENV RAILS_ENV="production" \
25
BUNDLE_WITHOUT="development"
26
27
# Throw-away build stage to reduce size of final image
28
-FROM base as build
+FROM base AS build
29
30
# Install packages needed to build gems
31
RUN apt-get update -qq && \
Gemfile
@@ -1,7 +1,7 @@
1
source "https://rubygems.org"
2
3
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
4
-gem "rails", "~> 7.2.0.beta2"
+gem "rails", "~> 7.2.0.beta3"
5
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
6
gem "sprockets-rails"
7
# Use sqlite3 as the database for Active Record
config/environments/development.rb
@@ -37,6 +37,8 @@
37
# Don't care if the mailer can't send.
38
config.action_mailer.raise_delivery_errors = false
39
40
+ # Disable caching for Action Mailer templates even if Action Controller
41
+ # caching is enabled.
42
config.action_mailer.perform_caching = false
43
44
config.action_mailer.default_url_options = { host: "localhost", port: 3000 }
config/environments/production.rb
@@ -50,6 +50,7 @@
50
51
# Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
52
config.force_ssl = true
53
+
54
# Skip http-to-https redirect for the default health check endpoint.
55
# config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
56
@@ -73,6 +74,8 @@
73
74
# config.active_job.queue_adapter = :resque
75
# config.active_job.queue_name_prefix = "railsdiff_production"
76
77
78
79
80
81
# Ignore bad email addresses and do not raise email delivery errors.
config/environments/test.rb
@@ -34,6 +34,8 @@
34
# Store uploaded files on the local file system in a temporary directory.
35
config.active_storage.service = :test
36
# Tell Action Mailer not to deliver emails to the real world.
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments