Skip to content

Instantly share code, notes, and snippets.

@ookam
Created July 29, 2020 10:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ookam/3b470775980552283673ce326ff798d0 to your computer and use it in GitHub Desktop.
Save ookam/3b470775980552283673ce326ff798d0 to your computer and use it in GitHub Desktop.
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.6.5'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.1'
# Use mysql as the database for Active Record
gem 'mysql2', '>= 0.4.4'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sassc-rails'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'
gem 'webpacker'
# =========================================
# モデルに関係するもの
# =========================================
gem 'kaminari' # ページネーション
gem 'active_hash' # 静的なモデル(カテゴリ)に利用
gem 'acts-as-taggable-on' # タグ対応
gem 'remotipart', github: 'JangoSteve/remotipart' # ajaxでファイルを送信する
gem 'acts_as_list'
# =========================================
# ログインロジック
# =========================================
gem 'sorcery' # 近頃はやりのログイン管理
gem 'omniauth-twitter' # twitterと連携
gem 'twitter'
# =========================================
# =========================================
# viewに関するもの
# =========================================
gem 'hamlit' # erb書きたくないのでhamlを入れておく
gem 'gon' # javascriptにrailsの変数を受け渡すのに使う
gem 'rinku' # string中のURLを自動で<a href=''にしてくれるやつ
gem 'rack-user_agent' # pcかsmかチェックできる
gem 'meta-tags' # meta_tagを設定する定番
gem "recaptcha", require: "recaptcha/rails" # GoogleRecaptcha
gem "twemoji" # 絵文字使える
gem "autoprefixer-rails" # cssに勝手にprefixつけてくれる
# =========================================
# =========================================
# フロントに関するもの
# =========================================
gem 'turbolinks', '~> 5' # 擬似SPAを簡単に実装
gem "js-routes" # RailsのRouteをjsから使えるようにする
# =========================================
# =========================================
# controllerに関連する部分
# =========================================
gem 'action_args' # params[:hoge]をhogeとかける
# =========================================
# =========================================
# デプロイするのに利用
# =========================================
group :development do
gem 'capistrano-rbenv'
gem 'capistrano3-puma'
gem "capistrano", "~> 3.11.2", require: false
gem "capistrano-rails", "~> 1.4", require: false
end
# =========================================
# =========================================
# ファイルのアップロードに関係する部分
# =========================================
gem 'fog-aws' # AWS S3対応
gem 'carrierwave', '~>1.0' # 画像のアップロード処理
gem 'mini_magick' # 画像のサムネイル生成を柔軟に(使ってないけど一応入れる)
# =========================================
# S3画像データ
# =========================================
gem 'aws-sdk-rails', '~> 1.0'
# =========================================
# =========================================
# Redisを扱いやすくする
# =========================================
gem 'redis' # redis本体
gem 'redis-rails' # redis本体
gem 'redis-objects' # modelと簡単に連携
gem 'redis-namespace' # 開発環境の汚染対策
# =========================================
# =========================================
# 開発環境で使うシリーズ
# =========================================
group :development, :test do
gem 'foreman' # rails s と webpack sを同時に行う
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
gem 'binding_of_caller'
gem 'pry-byebug'
gem 'better_errors'
gem 'rack-mini-profiler' # 開発環境の時間を計測
gem 'letter_opener' # メールの確認
gem 'annotate', '>= 3.0.3' # モデル構造を書き出す
end
# =========================================
# Use Active Storage variant
# gem 'image_processing', '~> 1.2'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
gem 'listen', '>= 3.0.5', '< 3.2'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment