diff --git a/Gemfile b/Gemfile index 060ae2f571f..b9d4d01fd3c 100644 --- a/Gemfile +++ b/Gemfile @@ -32,21 +32,12 @@ gem "jbuilder" # Use Redis adapter to run Action Cable in production gem "redis", ">= 4.0.1" -# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis] -# gem "kredis" - -# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword] -# gem "bcrypt", "~> 3.1.7" - # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem "tzinfo-data", platforms: %i[ windows jruby ] # Reduces boot times through caching; required in config/boot.rb gem "bootsnap", require: false -# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images] -# gem "image_processing", "~> 1.2" - group :development, :test do # See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem gem "debug", platforms: %i[ mri windows ] @@ -62,14 +53,11 @@ group :development do # Use console on exceptions pages [https://github.com/rails/web-console] gem "web-console" - # Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler] - # gem "rack-mini-profiler" - - # Speed up commands on slow machines / big apps [https://github.com/rails/spring] - # gem "spring" - # Highlight the fine-grained location where an error occurred [https://github.com/ruby/error_highlight] gem "error_highlight", ">= 0.4.0", platforms: [:ruby] + + # Hotwire-based live reloading + gem "hotwire-livereload" end group :test do diff --git a/Gemfile.lock b/Gemfile.lock index bd58c9e4dd9..9e25df7ff99 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -134,8 +134,13 @@ GEM ruby2_keywords error_highlight (0.6.0) erubi (1.12.0) + ffi (1.16.3) globalid (1.2.1) activesupport (>= 6.1) + hotwire-livereload (1.3.0) + actioncable (>= 6.0.0) + listen (>= 3.0.0) + railties (>= 6.0.0) i18n (1.14.1) concurrent-ruby (~> 1.0) importmap-rails (1.2.3) @@ -151,6 +156,9 @@ GEM activesupport (>= 5.0.0) json (2.7.1) language_server-protocol (3.17.0.3) + listen (3.8.0) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) loofah (2.22.0) crass (~> 1.0.2) nokogiri (>= 1.12.0) @@ -208,6 +216,9 @@ GEM nokogiri (~> 1.14) rainbow (3.1.1) rake (13.1.0) + rb-fsevent (0.11.2) + rb-inotify (0.10.1) + ffi (~> 1.0) rdoc (6.6.2) psych (>= 4.0.0) redis (5.0.8) @@ -305,6 +316,7 @@ DEPENDENCIES capybara debug error_highlight (>= 0.4.0) + hotwire-livereload importmap-rails jbuilder pg (~> 1.1)