diff --git a/Gemfile b/Gemfile index 04eef79..40833f6 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ source "https://rubygems.org" gem "rails", "~> 8.1.1" gem "propshaft" -gem "sqlite3", ">= 2.1" +# gem "sqlite3", ">= 2.1" gem "puma" gem "importmap-rails" gem "turbo-rails" diff --git a/Gemfile.lock b/Gemfile.lock index 956b257..ac987ea 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -268,13 +268,6 @@ GEM rubocop-rails (>= 2.30) ruby-progressbar (1.13.0) 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) base64 logger @@ -329,6 +322,7 @@ PLATFORMS arm-linux-gnu arm-linux-musl arm64-darwin-24 + arm64-darwin-25 x86_64-linux x86_64-linux-gnu x86_64-linux-musl @@ -345,7 +339,6 @@ DEPENDENCIES puma rails (~> 8.1.1) rubocop-rails-omakase - sqlite3 (>= 2.1) stimulus-rails tailwindcss-rails thruster diff --git a/config/application.rb b/config/application.rb index c6df6dc..b3519c8 100644 --- a/config/application.rb +++ b/config/application.rb @@ -1,6 +1,14 @@ 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 # you've limited to :test, :development, or :production. diff --git a/config/database.yml b/config/database.yml.new similarity index 100% rename from config/database.yml rename to config/database.yml.new diff --git a/config/environments/development.rb b/config/environments/development.rb index bc22f52..1cd2cb4 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -29,7 +29,7 @@ Rails.application.configure do config.cache_store = :memory_store # 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. config.action_mailer.raise_delivery_errors = false @@ -44,13 +44,13 @@ Rails.application.configure do config.active_support.deprecation = :log # 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. - 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. - config.active_record.query_log_tags_enabled = true + # config.active_record.query_log_tags_enabled = true # Highlight code that enqueued background job in logs. config.active_job.verbose_enqueue_logs = true diff --git a/config/environments/production.rb b/config/environments/production.rb index bdcd01d..cc331d1 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -22,7 +22,7 @@ Rails.application.configure do # config.asset_host = "http://assets.example.com" # 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. config.assume_ssl = true @@ -74,10 +74,10 @@ Rails.application.configure do config.i18n.fallbacks = true # 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. - config.active_record.attributes_for_inspect = [ :id ] + # config.active_record.attributes_for_inspect = [ :id ] # Enable DNS rebinding protection and other `Host` header attacks. # config.hosts = [ diff --git a/config/environments/test.rb b/config/environments/test.rb index c2095b1..8e8b01b 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -29,7 +29,7 @@ Rails.application.configure do config.action_controller.allow_forgery_protection = false # 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. # The :test delivery method accumulates sent emails in the