forked from primer/view_components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gemfile
39 lines (31 loc) · 1.02 KB
/
Gemfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# frozen_string_literal: true
source "https://rubygems.org"
gemspec
rails_version = (ENV["RAILS_VERSION"] || "6.1.1").to_s
gem "rack-cors"
gem "rake", "~> 13.0"
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
# rubocop:disable Bundler/DuplicatedGem
if rails_version == "main"
git "https://github.com/rails/rails", ref: "main" do
gem "actionview"
gem "activemodel"
gem "activerecord"
gem "activesupport"
gem "railties"
end
else
gem "actionview", rails_version
gem "activemodel", rails_version
gem "activesupport", rails_version
gem "railties", rails_version
end
# rubocop:enable Bundler/DuplicatedGem
# Use Puma as the app server
gem "puma", "~> 5.6.4"
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem "webpacker", "~> 5.0"
# Reduces boot times through caching; required in config/boot.rb
gem "bootsnap", ">= 1.4.2", require: false
gem "view_component", path: ENV["VIEW_COMPONENT_PATH"] if ENV["VIEW_COMPONENT_PATH"]
gem "view_component_storybook", "~> 0.8.0"