質問編集履歴

2

ファイルチェック

2019/06/06 04:11

投稿

shuzi
shuzi

スコア197

test CHANGED
File without changes
test CHANGED
@@ -79,3 +79,99 @@
79
79
  => #<Natto::MeCab:0x00007f881000af10 @model...
80
80
 
81
81
  ```
82
+
83
+
84
+
85
+ ファイルチェックしてみました。
86
+
87
+ find /app/ -name *mecab*
88
+
89
+ ```heroku
90
+
91
+ /app/.linuxbrew/Cellar/mecab-ipadic
92
+
93
+ /app/.linuxbrew/Cellar/mecab-ipadic/2.7.0-20070801/lib/mecab
94
+
95
+ /app/.linuxbrew/Cellar/mecab-ipadic/2.7.0-20070801/.brew/mecab-ipadic.rb
96
+
97
+ /app/.linuxbrew/Cellar/mecab
98
+
99
+ /app/.linuxbrew/Cellar/mecab/0.996/share/man/man1/mecab.1
100
+
101
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab
102
+
103
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab/mecab-test-gen
104
+
105
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab/mecab-dict-gen
106
+
107
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab/mecab-system-eval
108
+
109
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab/mecab-dict-index
110
+
111
+ /app/.linuxbrew/Cellar/mecab/0.996/libexec/mecab/mecab-cost-train
112
+
113
+ /app/.linuxbrew/Cellar/mecab/0.996/lib/libmecab.so
114
+
115
+ /app/.linuxbrew/Cellar/mecab/0.996/lib/libmecab.so.2.0.0
116
+
117
+ /app/.linuxbrew/Cellar/mecab/0.996/lib/libmecab.a
118
+
119
+ /app/.linuxbrew/Cellar/mecab/0.996/lib/libmecab.so.2
120
+
121
+ /app/.linuxbrew/Cellar/mecab/0.996/.brew/mecab.rb
122
+
123
+ /app/.linuxbrew/Cellar/mecab/0.996/include/mecab.h
124
+
125
+ /app/.linuxbrew/Cellar/mecab/0.996/bin/mecab
126
+
127
+ /app/.linuxbrew/Cellar/mecab/0.996/bin/mecab-config
128
+
129
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-ko.rb
130
+
131
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-ipadic.rb
132
+
133
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-ko-dic.rb
134
+
135
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab.rb
136
+
137
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-jumandic.rb
138
+
139
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-unidic.rb
140
+
141
+ /app/.linuxbrew/Library/Taps/homebrew/homebrew-core/Formula/mecab-unidic-extended.rb
142
+
143
+ /app/.linuxbrew/share/man/man1/mecab.1
144
+
145
+ /app/.linuxbrew/var/homebrew/locks/mecab.formula.lock
146
+
147
+ /app/.linuxbrew/var/homebrew/locks/a3da242228cf276ea0b7776960145ae549f7ff3985e0ea873d7c145f4fbf9650--mecab-ipadic-2.7.0-20070801.x86_64_linux.bottle.tar.gz.incomplete.lock
148
+
149
+ /app/.linuxbrew/var/homebrew/linked/mecab-ipadic
150
+
151
+ /app/.linuxbrew/var/homebrew/linked/mecab
152
+
153
+ /app/.linuxbrew/etc/mecabrc
154
+
155
+ /app/.linuxbrew/lib/libmecab.so
156
+
157
+ /app/.linuxbrew/lib/libmecab.so.2.0.0
158
+
159
+ /app/.linuxbrew/lib/mecab
160
+
161
+ /app/.linuxbrew/lib/libmecab.a
162
+
163
+ /app/.linuxbrew/lib/libmecab.so.2
164
+
165
+ /app/.linuxbrew/include/mecab.h
166
+
167
+ /app/.linuxbrew/bin/mecab
168
+
169
+ /app/.linuxbrew/bin/mecab-config
170
+
171
+ /app/.linuxbrew/opt/mecab-ipadic
172
+
173
+ /app/.linuxbrew/opt/mecab
174
+
175
+ /app/app/.linuxbrew/lib/libmecab.so.2
176
+
177
+ ```

1

require を削除

2019/06/06 04:11

投稿

shuzi
shuzi

スコア197

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
  デプロイは出来てます。
12
12
 
13
- gem 'natto'を設定してます。
13
+ bundleを使ってgem 'natto'を設定してます。
14
14
 
15
15
 
16
16
 
@@ -52,12 +52,6 @@
52
52
 
53
53
  ```
54
54
 
55
- require 'natto'
56
-
57
- => false
58
-
59
-
60
-
61
55
  Natto::MeCab.new
62
56
 
63
57
  => atto::MeCabError: Could not initialize Model with options: ''
@@ -80,12 +74,6 @@
80
74
 
81
75
  ```ruby
82
76
 
83
- require 'natto'
84
-
85
- => false
86
-
87
-
88
-
89
77
  Natto::MeCab.new
90
78
 
91
79
  => #<Natto::MeCab:0x00007f881000af10 @model...