質問編集履歴
3
編集
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
### 該当のソースコード
|
18
18
|
|
19
19
|
|
20
|
-
```
|
20
|
+
```haml
|
21
21
|
!!!
|
22
22
|
%html
|
23
23
|
%head
|
2
ファイル名を追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
### 該当のソースコード
|
18
18
|
|
19
19
|
|
20
|
-
```haml
|
20
|
+
```application.html.haml
|
21
21
|
!!!
|
22
22
|
%html
|
23
23
|
%head
|
1
Gemファイルを追加しました
title
CHANGED
@@ -1,1 +1,1 @@
|
|
1
|
-
cannot load such file -- coffee_script
|
1
|
+
cannot load such file -- coffee_scriptで困っています。
|
body
CHANGED
@@ -32,8 +32,80 @@
|
|
32
32
|
= yield
|
33
33
|
```
|
34
34
|
|
35
|
+
```Gemfile
|
36
|
+
source 'https://rubygems.org'
|
37
|
+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
|
35
38
|
|
39
|
+
ruby '2.6.5'
|
36
40
|
|
41
|
+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
|
42
|
+
gem 'rails', '~> 6.0.0'
|
43
|
+
# Use mysql as the database for Active Record
|
44
|
+
gem 'mysql2', '>= 0.4.4'
|
45
|
+
# Use Puma as the app server
|
46
|
+
gem 'puma', '~> 3.11'
|
47
|
+
# Use SCSS for stylesheets
|
48
|
+
gem 'sass-rails', '~> 5'
|
49
|
+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
|
50
|
+
gem 'webpacker', '~> 4.0'
|
51
|
+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
|
52
|
+
gem 'turbolinks', '~> 5'
|
53
|
+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
|
54
|
+
gem 'jbuilder', '~> 2.7'
|
55
|
+
# Use Redis adapter to run Action Cable in production
|
56
|
+
# gem 'redis', '~> 4.0'
|
57
|
+
# Use Active Model has_secure_password
|
58
|
+
# gem 'bcrypt', '~> 3.1.7'
|
59
|
+
|
60
|
+
# Use Active Storage variant
|
61
|
+
# gem 'image_processing', '~> 1.2'
|
62
|
+
|
63
|
+
# Reduces boot times through caching; required in config/boot.rb
|
64
|
+
gem 'bootsnap', '>= 1.4.2', require: false
|
65
|
+
|
66
|
+
group :development, :test do
|
67
|
+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
|
68
|
+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
|
69
|
+
end
|
70
|
+
|
71
|
+
group :development do
|
72
|
+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
|
73
|
+
gem 'web-console', '>= 3.3.0'
|
74
|
+
gem 'listen', '>= 3.0.5', '< 3.2'
|
75
|
+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
|
76
|
+
gem 'spring'
|
77
|
+
gem 'spring-watcher-listen', '~> 2.0.0'
|
78
|
+
end
|
79
|
+
|
80
|
+
group :test do
|
81
|
+
# Adds support for Capybara system testing and selenium driver
|
82
|
+
gem 'capybara', '>= 2.15'
|
83
|
+
gem 'selenium-webdriver'
|
84
|
+
# Easy installation and use of web drivers to run system tests with browsers
|
85
|
+
gem 'webdrivers'
|
86
|
+
end
|
87
|
+
|
88
|
+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
89
|
+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
90
|
+
|
91
|
+
gem "haml-rails", ">= 1.0", '<= 2.0.1'
|
92
|
+
|
93
|
+
gem 'font-awesome-sass'
|
94
|
+
|
95
|
+
gem 'devise'
|
96
|
+
|
97
|
+
gem 'carrierwave'
|
98
|
+
|
99
|
+
gem 'mini_magick'
|
100
|
+
|
101
|
+
gem 'jquery-rails'
|
102
|
+
|
103
|
+
```
|
104
|
+
|
105
|
+
|
106
|
+
|
107
|
+
|
108
|
+
|
37
109
|
### 試したこと
|
38
110
|
|
39
111
|
※まだjsファイルは追加していません。
|