currently without sqlite
This commit is contained in:
2
Gemfile
2
Gemfile
@ -2,7 +2,7 @@ source "https://rubygems.org"
|
|||||||
|
|
||||||
gem "rails", "~> 8.1.1"
|
gem "rails", "~> 8.1.1"
|
||||||
gem "propshaft"
|
gem "propshaft"
|
||||||
gem "sqlite3", ">= 2.1"
|
# gem "sqlite3", ">= 2.1"
|
||||||
gem "puma"
|
gem "puma"
|
||||||
gem "importmap-rails"
|
gem "importmap-rails"
|
||||||
gem "turbo-rails"
|
gem "turbo-rails"
|
||||||
|
|||||||
@ -268,13 +268,6 @@ GEM
|
|||||||
rubocop-rails (>= 2.30)
|
rubocop-rails (>= 2.30)
|
||||||
ruby-progressbar (1.13.0)
|
ruby-progressbar (1.13.0)
|
||||||
securerandom (0.4.1)
|
securerandom (0.4.1)
|
||||||
sqlite3 (2.8.0-aarch64-linux-gnu)
|
|
||||||
sqlite3 (2.8.0-aarch64-linux-musl)
|
|
||||||
sqlite3 (2.8.0-arm-linux-gnu)
|
|
||||||
sqlite3 (2.8.0-arm-linux-musl)
|
|
||||||
sqlite3 (2.8.0-arm64-darwin)
|
|
||||||
sqlite3 (2.8.0-x86_64-linux-gnu)
|
|
||||||
sqlite3 (2.8.0-x86_64-linux-musl)
|
|
||||||
sshkit (1.24.0)
|
sshkit (1.24.0)
|
||||||
base64
|
base64
|
||||||
logger
|
logger
|
||||||
@ -329,6 +322,7 @@ PLATFORMS
|
|||||||
arm-linux-gnu
|
arm-linux-gnu
|
||||||
arm-linux-musl
|
arm-linux-musl
|
||||||
arm64-darwin-24
|
arm64-darwin-24
|
||||||
|
arm64-darwin-25
|
||||||
x86_64-linux
|
x86_64-linux
|
||||||
x86_64-linux-gnu
|
x86_64-linux-gnu
|
||||||
x86_64-linux-musl
|
x86_64-linux-musl
|
||||||
@ -345,7 +339,6 @@ DEPENDENCIES
|
|||||||
puma
|
puma
|
||||||
rails (~> 8.1.1)
|
rails (~> 8.1.1)
|
||||||
rubocop-rails-omakase
|
rubocop-rails-omakase
|
||||||
sqlite3 (>= 2.1)
|
|
||||||
stimulus-rails
|
stimulus-rails
|
||||||
tailwindcss-rails
|
tailwindcss-rails
|
||||||
thruster
|
thruster
|
||||||
|
|||||||
@ -1,6 +1,14 @@
|
|||||||
require_relative "boot"
|
require_relative "boot"
|
||||||
|
|
||||||
require "rails/all"
|
# require "rails/all"
|
||||||
|
# require "active_model/railtie"
|
||||||
|
# And now the rest
|
||||||
|
require "action_controller/railtie"
|
||||||
|
require "action_mailer/railtie"
|
||||||
|
require "action_view/railtie"
|
||||||
|
require "active_job/railtie"
|
||||||
|
require "action_cable/engine"
|
||||||
|
|
||||||
|
|
||||||
# Require the gems listed in Gemfile, including any gems
|
# Require the gems listed in Gemfile, including any gems
|
||||||
# you've limited to :test, :development, or :production.
|
# you've limited to :test, :development, or :production.
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Rails.application.configure do
|
|||||||
config.cache_store = :memory_store
|
config.cache_store = :memory_store
|
||||||
|
|
||||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||||
config.active_storage.service = :local
|
# config.active_storage.service = :local
|
||||||
|
|
||||||
# Don't care if the mailer can't send.
|
# Don't care if the mailer can't send.
|
||||||
config.action_mailer.raise_delivery_errors = false
|
config.action_mailer.raise_delivery_errors = false
|
||||||
@ -44,13 +44,13 @@ Rails.application.configure do
|
|||||||
config.active_support.deprecation = :log
|
config.active_support.deprecation = :log
|
||||||
|
|
||||||
# Raise an error on page load if there are pending migrations.
|
# Raise an error on page load if there are pending migrations.
|
||||||
config.active_record.migration_error = :page_load
|
# config.active_record.migration_error = :page_load
|
||||||
|
|
||||||
# Highlight code that triggered database queries in logs.
|
# Highlight code that triggered database queries in logs.
|
||||||
config.active_record.verbose_query_logs = true
|
# config.active_record.verbose_query_logs = true
|
||||||
|
|
||||||
# Append comments with runtime information tags to SQL queries in logs.
|
# Append comments with runtime information tags to SQL queries in logs.
|
||||||
config.active_record.query_log_tags_enabled = true
|
# config.active_record.query_log_tags_enabled = true
|
||||||
|
|
||||||
# Highlight code that enqueued background job in logs.
|
# Highlight code that enqueued background job in logs.
|
||||||
config.active_job.verbose_enqueue_logs = true
|
config.active_job.verbose_enqueue_logs = true
|
||||||
|
|||||||
@ -22,7 +22,7 @@ Rails.application.configure do
|
|||||||
# config.asset_host = "http://assets.example.com"
|
# config.asset_host = "http://assets.example.com"
|
||||||
|
|
||||||
# Store uploaded files on the local file system (see config/storage.yml for options).
|
# Store uploaded files on the local file system (see config/storage.yml for options).
|
||||||
config.active_storage.service = :local
|
# config.active_storage.service = :local
|
||||||
|
|
||||||
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
# Assume all access to the app is happening through a SSL-terminating reverse proxy.
|
||||||
config.assume_ssl = true
|
config.assume_ssl = true
|
||||||
@ -74,10 +74,10 @@ Rails.application.configure do
|
|||||||
config.i18n.fallbacks = true
|
config.i18n.fallbacks = true
|
||||||
|
|
||||||
# Do not dump schema after migrations.
|
# Do not dump schema after migrations.
|
||||||
config.active_record.dump_schema_after_migration = false
|
# config.active_record.dump_schema_after_migration = false
|
||||||
|
|
||||||
# Only use :id for inspections in production.
|
# Only use :id for inspections in production.
|
||||||
config.active_record.attributes_for_inspect = [ :id ]
|
# config.active_record.attributes_for_inspect = [ :id ]
|
||||||
|
|
||||||
# Enable DNS rebinding protection and other `Host` header attacks.
|
# Enable DNS rebinding protection and other `Host` header attacks.
|
||||||
# config.hosts = [
|
# config.hosts = [
|
||||||
|
|||||||
@ -29,7 +29,7 @@ Rails.application.configure do
|
|||||||
config.action_controller.allow_forgery_protection = false
|
config.action_controller.allow_forgery_protection = false
|
||||||
|
|
||||||
# Store uploaded files on the local file system in a temporary directory.
|
# Store uploaded files on the local file system in a temporary directory.
|
||||||
config.active_storage.service = :test
|
# config.active_storage.service = :test
|
||||||
|
|
||||||
# Tell Action Mailer not to deliver emails to the real world.
|
# Tell Action Mailer not to deliver emails to the real world.
|
||||||
# The :test delivery method accumulates sent emails in the
|
# The :test delivery method accumulates sent emails in the
|
||||||
|
|||||||
Reference in New Issue
Block a user