質問編集履歴
2
コード追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -15,4 +15,72 @@
|
|
15
15
|
|
16
16
|
- Gemgileに「gem 'pg'」の記載があり、デプロイ前にmigrateしました。
|
17
17
|
- ファイルのキャッシュを消す方法を試しました。
|
18
|
-
「git rm -r --cached .」
|
18
|
+
「git rm -r --cached .」
|
19
|
+
- Gemfileは以下の通りです
|
20
|
+
```ruby
|
21
|
+
source 'https://rubygems.org'
|
22
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
23
|
+
|
24
|
+
ruby '2.6.5'
|
25
|
+
|
26
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
27
|
+
gem 'rails', '~> 6.0.0'
|
28
|
+
# Use Puma as the app server
|
29
|
+
gem 'puma', '~> 4.1'
|
30
|
+
# Use SCSS for stylesheets
|
31
|
+
gem 'sass-rails', '>= 6'
|
32
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
33
|
+
gem 'webpacker', '~> 4.0'
|
34
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
35
|
+
gem 'turbolinks', '~> 5'
|
36
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
37
|
+
gem 'jbuilder', '~> 2.7'
|
38
|
+
# Use Redis adapter to run Action Cable in production
|
39
|
+
# gem 'redis', '~> 4.0'
|
40
|
+
# Use Active Model has_secure_password
|
41
|
+
# gem 'bcrypt', '~> 3.1.7'
|
42
|
+
|
43
|
+
# Use Active Storage variant
|
44
|
+
# gem 'image_processing', '~> 1.2'
|
45
|
+
|
46
|
+
# Reduces boot times through caching; required in config/boot.rb
|
47
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
48
|
+
|
49
|
+
group :development, :test do
|
50
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
51
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
52
|
+
gem 'sqlite3'
|
53
|
+
end
|
54
|
+
|
55
|
+
group :development do
|
56
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
57
|
+
gem 'web-console', '>= 3.3.0'
|
58
|
+
gem 'listen', '~> 3.2'
|
59
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
60
|
+
gem 'spring'
|
61
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
62
|
+
end
|
63
|
+
|
64
|
+
group :test do
|
65
|
+
# Adds support for Capybara system testing and selenium driver
|
66
|
+
gem 'capybara', '>= 2.15'
|
67
|
+
gem 'selenium-webdriver'
|
68
|
+
# Easy installation and use of web drivers to run system tests with browsers
|
69
|
+
gem 'webdrivers'
|
70
|
+
end
|
71
|
+
|
72
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
73
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
74
|
+
gem 'pry-rails'
|
75
|
+
gem 'haml-rails', '>=1.0', '<=2.0.1'
|
76
|
+
gem 'font-awesome-sass'
|
77
|
+
gem 'carrierwave'
|
78
|
+
gem 'mini_magick'
|
79
|
+
gem 'ancestry'
|
80
|
+
gem 'jquery-rails'
|
81
|
+
gem 'devise'
|
82
|
+
|
83
|
+
group :production do
|
84
|
+
gem 'pg'
|
85
|
+
end
|
86
|
+
```
|
1
記載漏れ
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
HerokuへGit経由でデプロイしたのち、
|
4
4
|
開発を進めたいのですが、ローカルサーバーが利用できません。
|
5
|
+
本番環境へデプロイするとローカルは使えなくなりますか?
|
5
6
|
|
6
7
|
|
7
8
|
### 発生している問題・エラーメッセージ
|