Rails 8.1 + SQLite app - 2026-02-04 22:51:42
This commit is contained in:
46
Gemfile
Normal file
46
Gemfile
Normal file
@@ -0,0 +1,46 @@
|
||||
source 'https://rubygems.org'
|
||||
|
||||
ruby '~> 3.3.0'
|
||||
|
||||
# Rails 8.1
|
||||
gem 'rails', '~> 8.1.0'
|
||||
|
||||
# SQLite数据库
|
||||
gem 'sqlite3', '~> 2.0'
|
||||
|
||||
# Puma web服务器
|
||||
gem 'puma', '>= 5.0'
|
||||
|
||||
# 资源管道
|
||||
gem 'sprockets-rails'
|
||||
|
||||
# JavaScript
|
||||
gem 'importmap-rails'
|
||||
|
||||
# Hotwire
|
||||
gem 'turbo-rails'
|
||||
gem 'stimulus-rails'
|
||||
|
||||
# JSON API
|
||||
gem 'jbuilder'
|
||||
|
||||
# 时区数据
|
||||
gem 'tzinfo-data', platforms: %i[ windows jruby ]
|
||||
|
||||
# 性能优化
|
||||
gem 'bootsnap', require: false
|
||||
|
||||
group :development, :test do
|
||||
gem 'debug', platforms: %i[ mri windows ], require: 'debug/prelude'
|
||||
gem 'brakeman', require: false
|
||||
gem 'rubocop-rails-omakase', require: false
|
||||
end
|
||||
|
||||
group :development do
|
||||
gem 'web-console'
|
||||
end
|
||||
|
||||
group :test do
|
||||
gem 'capybara'
|
||||
gem 'selenium-webdriver'
|
||||
end
|
||||
Reference in New Issue
Block a user