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

質問編集履歴

2

WARNINGメッセージを追記

2017/06/01 09:40

投稿

graphic-ocean
graphic-ocean

スコア12

title CHANGED
File without changes
body CHANGED
@@ -179,5 +179,18 @@
179
179
  });
180
180
  ```
181
181
 
182
+ WARNINGメッセージ
183
+ ```WARNINGメッセージ
184
+ ###### WARNING:
185
+ You have not declared a Ruby version in your Gemfile.
186
+ To set your Ruby version add this line to your Gemfile:
187
+ ruby '2.3.4'
188
+ # See https://devcenter.heroku.com/articles/ruby-versions for more information.
189
+ ###### WARNING:
190
+ No Procfile detected, using the default web server.
191
+ We recommend explicitly declaring how to boot your server process via a Procfile.
192
+ https://devcenter.heroku.com/articles/ruby-default-web-server
193
+ ```
194
+
182
195
  様々なエラーが出ており、どこから直していけばいいのか、なかなか検討がつきません。
183
196
  もし、少しでも対策がありましたらご教示頂けますと幸いです。

1

application\.jsの内容を追加

2017/06/01 09:40

投稿

graphic-ocean
graphic-ocean

スコア12

title CHANGED
File without changes
body CHANGED
@@ -152,5 +152,32 @@
152
152
  end
153
153
  ```
154
154
 
155
+ application.jsの内容
156
+ ```application.js
157
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
158
+ // listed below.
159
+ //
160
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
161
+ // or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
162
+ //
163
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
164
+ // compiled file.
165
+ //
166
+ // Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
167
+ // about supported directives.
168
+ //
169
+ //= require jquery
170
+ //= require jquery_ujs
171
+ //= require twitter/bootstrap
172
+ //= require bootstrap-material-design
173
+ //= require turbolinks
174
+ //= require bootstrap
175
+ //= require_tree .
176
+
177
+ $(function(){
178
+ $.material.init();
179
+ });
180
+ ```
181
+
155
182
  様々なエラーが出ており、どこから直していけばいいのか、なかなか検討がつきません。
156
183
  もし、少しでも対策がありましたらご教示頂けますと幸いです。