質問編集履歴

4

tuika

2017/01/25 12:46

投稿

allex
allex

スコア24

test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,3 @@
1
- ###前提・実現したいこと
2
-
3
- ここに質問したいことを詳細に書いてください
4
-
5
1
  実践Ruby On Rails4を今やっているんですがassetsのプリコンパイルをやろうとしているのですが
6
2
 
7
3
  vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ruby -e 'require "securerandom"; print SecureRandom.hex(64)' > ~/.baukis_secret_key_base
@@ -20,6 +16,8 @@
20
16
 
21
17
  追加
22
18
 
19
+ vagrant@vagrant-ubuntu-trusty-64:/vagrant$ bin/rake db:create RAILS_ENV=prodution
20
+
23
21
  config.eager_load is set to nil. Please update your
24
22
 
25
23
 
@@ -246,16 +244,4 @@
246
244
 
247
245
 
248
246
 
249
-
250
-
251
- ###試したこと
252
-
253
- 課題に対してアプローチしたことを記載してください
254
-
255
247
  @import 'colors'; を消して実行したり、残してやったりとかしました
256
-
257
-
258
-
259
- ###補足情報(言語/FW/ツール等のバージョンなど)
260
-
261
- より詳細な情報

3

追加

2017/01/25 12:46

投稿

allex
allex

スコア24

test CHANGED
File without changes
test CHANGED
@@ -16,6 +16,22 @@
16
16
 
17
17
  何回も見直してるのですが出来ないです
18
18
 
19
+
20
+
21
+ 追加
22
+
23
+ config.eager_load is set to nil. Please update your
24
+
25
+
26
+
27
+ * development - set it to false
28
+
29
+ * test - set it to false (unless you use a tool that preloads your test environment)
30
+
31
+ * production - set it to true はこの通り編集しました
32
+
33
+
34
+
19
35
  ちなみにここやるまでは本書通りに動いてました
20
36
 
21
37
  なぜでしょう????

2

henshuu

2017/01/25 12:29

投稿

allex
allex

スコア24

test CHANGED
File without changes
test CHANGED
@@ -26,6 +26,26 @@
26
26
 
27
27
  ```
28
28
 
29
+ vagrant@vagrant-ubuntu-trusty-64:/vagrant$ ruby -e 'require "securerandom"; print SecureRandom.hex(64)' > ~/baukis_secret_key_base
30
+
31
+ vagrant@vagrant-ubuntu-trusty-64:/vagrant$ export SECRET_KEY_BASE='cat ~/baukis_secret_key_base'
32
+
33
+ vagrant@vagrant-ubuntu-trusty-64:/vagrant$ bin/rake db:create RAILS_ENV=prodution
34
+
35
+ config.eager_load is set to nil. Please update your config/environments/*.rb files accordingly:
36
+
37
+
38
+
39
+ * development - set it to false
40
+
41
+ * test - set it to false (unless you use a tool that preloads your test environment)
42
+
43
+ * production - set it to true
44
+
45
+
46
+
47
+
48
+
29
49
  vagrant@vagrant-ubuntu-trusty-64:/vagrant$ bin/rake assets:precompile
30
50
 
31
51
  Running via Spring preloader in process 15604

1

shuusei

2017/01/25 12:27

投稿

allex
allex

スコア24

test CHANGED
File without changes
test CHANGED
@@ -206,7 +206,7 @@
206
206
 
207
207
 
208
208
 
209
-
209
+ ```
210
210
 
211
211
 
212
212