1
- source "https://rubygems.org"
1
+ # frozen_string_literal: true
2
+
3
+ source 'https://rubygems.org'
2
4
git_source ( :github ) { |repo | "https://github.com/#{ repo } .git" }
3
5
4
- ruby " 3.1.1"
6
+ ruby ' 3.1.1'
5
7
6
8
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7
- gem " rails" , " ~> 7.0.2" , " >= 7.0.2.2"
9
+ gem ' rails' , ' ~> 7.0.2' , ' >= 7.0.2.2'
8
10
9
11
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
10
- gem " sprockets-rails"
12
+ gem ' sprockets-rails'
11
13
12
14
# Use postgresql as the database for Active Record
13
- gem "pg" , " ~> 1.1"
15
+ gem 'pg' , ' ~> 1.1'
14
16
15
17
# Use the Puma web server [https://github.com/puma/puma]
16
- gem " puma" , " ~> 5.0"
18
+ gem ' puma' , ' ~> 5.0'
17
19
18
20
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
19
- gem " importmap-rails"
21
+ gem ' importmap-rails'
20
22
21
23
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
22
- gem " turbo-rails"
24
+ gem ' turbo-rails'
23
25
24
26
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
25
- gem " stimulus-rails"
27
+ gem ' stimulus-rails'
26
28
27
29
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
28
- gem " jbuilder"
30
+ gem ' jbuilder'
29
31
30
32
# Use Redis adapter to run Action Cable in production
31
33
# gem "redis", "~> 4.0"
@@ -37,10 +39,10 @@ gem "jbuilder"
37
39
# gem "bcrypt", "~> 3.1.7"
38
40
39
41
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
40
- gem " tzinfo-data" , platforms : %i[ mingw mswin x64_mingw jruby ]
42
+ gem ' tzinfo-data' , platforms : %i[ mingw mswin x64_mingw jruby ]
41
43
42
44
# Reduces boot times through caching; required in config/boot.rb
43
- gem " bootsnap" , require : false
45
+ gem ' bootsnap' , require : false
44
46
45
47
# Use Sass to process CSS
46
48
# gem "sassc-rails"
@@ -50,12 +52,12 @@ gem "bootsnap", require: false
50
52
51
53
group :development , :test do
52
54
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
53
- gem " debug" , platforms : %i[ mri mingw x64_mingw ]
55
+ gem ' debug' , platforms : %i[ mri mingw x64_mingw ]
54
56
end
55
57
56
58
group :development do
57
59
# Use console on exceptions pages [https://github.com/rails/web-console]
58
- gem " web-console"
60
+ gem ' web-console'
59
61
60
62
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
61
63
# gem "rack-mini-profiler"
@@ -64,3 +66,12 @@ group :development do
64
66
# gem "spring"
65
67
end
66
68
69
+ group :test do
70
+ # Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
71
+ gem 'capybara'
72
+ gem 'rspec-rails' , '~> 5.1'
73
+ gem 'selenium-webdriver'
74
+ gem 'webdrivers'
75
+ end
76
+
77
+ gem 'tailwindcss-rails' , '~> 2.0'
0 commit comments