質問編集履歴
1
gemfileの追加
test
CHANGED
File without changes
|
test
CHANGED
@@ -63,3 +63,121 @@
|
|
63
63
|
|
64
64
|
|
65
65
|
代わりにpgでpostgreを入れるところまでは成功しています。助けてもらえると幸いです。
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
追記
|
70
|
+
|
71
|
+
|
72
|
+
|
73
|
+
```
|
74
|
+
|
75
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
76
|
+
|
77
|
+
gem 'rails', '~> 5.1.4'
|
78
|
+
|
79
|
+
|
80
|
+
|
81
|
+
gem 'puma', '~> 3.7'
|
82
|
+
|
83
|
+
# Use SCSS for stylesheets
|
84
|
+
|
85
|
+
gem 'sass-rails', '~> 5.0'
|
86
|
+
|
87
|
+
# Use Uglifier as compressor for JavaScript assets
|
88
|
+
|
89
|
+
gem 'uglifier', '>= 1.3.0'
|
90
|
+
|
91
|
+
# See https://github.com/rails/execjs#readme for more supported runtimes
|
92
|
+
|
93
|
+
# gem 'therubyracer', platforms: :ruby
|
94
|
+
|
95
|
+
|
96
|
+
|
97
|
+
# Use CoffeeScript for .coffee assets and views
|
98
|
+
|
99
|
+
gem 'coffee-rails', '~> 4.2'
|
100
|
+
|
101
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
102
|
+
|
103
|
+
gem 'turbolinks', '~> 5'
|
104
|
+
|
105
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
106
|
+
|
107
|
+
gem 'jbuilder', '~> 2.5'
|
108
|
+
|
109
|
+
# Use Redis adapter to run Action Cable in production
|
110
|
+
|
111
|
+
# gem 'redis', '~> 3.0'
|
112
|
+
|
113
|
+
# Use ActiveModel has_secure_password
|
114
|
+
|
115
|
+
# gem 'bcrypt', '~> 3.1.7'
|
116
|
+
|
117
|
+
|
118
|
+
|
119
|
+
# Use Capistrano for deployment
|
120
|
+
|
121
|
+
# gem 'capistrano-rails', group: :development
|
122
|
+
|
123
|
+
gem 'bootstrap-sass'
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
gem 'kaminari'
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
group :development, :test do
|
132
|
+
|
133
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
134
|
+
|
135
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
136
|
+
|
137
|
+
# Adds support for Capybara system testing and selenium driver
|
138
|
+
|
139
|
+
gem 'capybara', '~> 2.13'
|
140
|
+
|
141
|
+
gem 'selenium-webdriver'
|
142
|
+
|
143
|
+
end
|
144
|
+
|
145
|
+
|
146
|
+
|
147
|
+
group :development do
|
148
|
+
|
149
|
+
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
|
150
|
+
|
151
|
+
gem 'web-console', '>= 3.3.0'
|
152
|
+
|
153
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
154
|
+
|
155
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
156
|
+
|
157
|
+
gem 'spring'
|
158
|
+
|
159
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
160
|
+
|
161
|
+
# Use sqlite3 as the database for Active Record
|
162
|
+
|
163
|
+
gem 'sqlite3'
|
164
|
+
|
165
|
+
end
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
group :production do
|
170
|
+
|
171
|
+
#本番ではpostgressを使用
|
172
|
+
|
173
|
+
gem 'pg'
|
174
|
+
|
175
|
+
end
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
180
|
+
|
181
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
182
|
+
|
183
|
+
```
|