teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

ソースコードの記入

2021/10/04 03:52

投稿

September4
September4

スコア4

title CHANGED
File without changes
body CHANGED
@@ -60,7 +60,7 @@
60
60
 
61
61
 
62
62
  ```
63
- 念のためapplication.html.erbも載せておく
63
+ 念のためapplication.html.erbとgemファイルも載せておく
64
64
  ```
65
65
   application.html.erb
66
66
 
@@ -100,4 +100,84 @@
100
100
  <%= yield %>
101
101
  </body>
102
102
  </html>
103
+ ```
104
+ ```source 'https://rubygems.org'
105
+ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
106
+
107
+ ruby '2.6.3'
108
+
109
+ # Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
110
+ gem 'rails', '~> 5.2.1'
111
+ # Use sqlite3 as the database for Active Record
112
+
113
+ # Use Puma as the app server
114
+ gem 'puma', '~> 3.11'
115
+ # Use SCSS for stylesheets
116
+ gem 'sass-rails', '~> 5.0'
117
+ # Use Uglifier as compressor for JavaScript assets
118
+ gem 'uglifier', '>= 1.3.0'
119
+ # See https://github.com/rails/execjs#readme for more supported runtimes
120
+ # gem 'mini_racer', platforms: :ruby
121
+
122
+ # Use CoffeeScript for .coffee assets and views
123
+ gem 'coffee-rails', '~> 4.2'
124
+ # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
125
+ gem 'turbolinks', '~> 5'
126
+ # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
127
+ gem 'jbuilder', '~> 2.5'
128
+ # Use Redis adapter to run Action Cable in production
129
+ # gem 'redis', '~> 4.0'
130
+ # Use ActiveModel has_secure_password
131
+ # gem 'bcrypt', '~> 3.1.7'
132
+
133
+ # Use ActiveStorage variant
134
+ # gem 'mini_magick', '~> 4.8'
135
+
136
+ # Use Capistrano for deployment
137
+ # gem 'capistrano-rails', group: :development
138
+
139
+ # Reduces boot times through caching; required in config/boot.rb
140
+ gem 'bootsnap', '>= 1.1.0', require: false
141
+
142
+ group :development, :test do
143
+ # Call 'byebug' anywhere in the code to stop execution and get a debugger console
144
+ gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
145
+ gem 'sqlite3'
146
+ end
147
+
148
+ group :development do
149
+ # Access an interactive console on exception pages or by calling 'console' anywhere in the code.
150
+ gem 'web-console', '>= 3.3.0'
151
+ gem 'listen', '>= 3.0.5', '< 3.2'
152
+ # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
153
+ gem 'spring'
154
+ gem 'spring-watcher-listen', '~> 2.0.0'
155
+ end
156
+
157
+ group :test do
158
+ # Adds support for Capybara system testing and selenium driver
159
+ gem 'capybara', '>= 2.15'
160
+ gem 'selenium-webdriver'
161
+ # Easy installation and use of chromedriver to run system tests with Chrome
162
+ gem 'chromedriver-helper'
163
+ end
164
+
165
+ group :production do
166
+ gem 'pg' , '~>0.18.4'
167
+ end
168
+
169
+ # Windows does not include zoneinfo files, so bundle the tzinfo-data gem
170
+ gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
171
+
172
+ gem 'compass-rails', '3.1.0'
173
+ gem 'sprockets', '3.7.2'
174
+ gem 'hirb'
175
+ gem 'hirb-unicode'
176
+ gem 'devise'
177
+ gem 'kaminari'
178
+ group :production do
179
+ gem 'rails_12factor'
180
+ end
181
+
182
+ コード
103
183
  ```