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