質問編集履歴

3

追記しました

2018/06/15 04:45

投稿

yaegashi0852
yaegashi0852

スコア13

test CHANGED
File without changes
test CHANGED
@@ -162,6 +162,14 @@
162
162
 
163
163
 
164
164
 
165
+ $ bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java
166
+
167
+ Failed to load /home/vagrant/.gemrc because it doesn't contain valid YAML hash
168
+
169
+ Fetching gem metadata from https://rubygems.org/.........Killed
170
+
171
+
172
+
165
173
  ```
166
174
 
167
175
 

2

エラーコードに変化がありましたので追記記入しました

2018/06/15 04:45

投稿

yaegashi0852
yaegashi0852

スコア13

test CHANGED
File without changes
test CHANGED
@@ -124,6 +124,48 @@
124
124
 
125
125
 
126
126
 
127
+ 追記
128
+
129
+ ---
130
+
131
+ ファイル等に変更は加えていないのですがエラー表示が変わりました
132
+
133
+ ```
134
+
135
+ $ bundle install
136
+
137
+ The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
138
+
139
+ Failed to load /home/vagrant/.gemrc because it doesn't contain valid YAML hash
140
+
141
+ Fetching gem metadata from https://rubygems.org/.........
142
+
143
+ Fetching gem metadata from https://rubygems.org/.
144
+
145
+ Resolving dependencies...
146
+
147
+ Using rake 12.3.1
148
+
149
+ Using concurrent-ruby 1.0.5
150
+
151
+ Using i18n 0.9.5
152
+
153
+ Using minitest 5.11.3
154
+
155
+ Using thread_safe 0.3.6
156
+
157
+ Fetching tzinfo 1.2.5
158
+
159
+ Installing tzinfo 1.2.5
160
+
161
+ Killed
162
+
163
+
164
+
165
+ ```
166
+
167
+
168
+
127
169
  環境
128
170
 
129
171
  ---

1

状況の追記

2018/06/15 04:37

投稿

yaegashi0852
yaegashi0852

スコア13

test CHANGED
File without changes
test CHANGED
@@ -1,6 +1,10 @@
1
1
  vagrant環境でRailsチュートリアル6章をやっています。
2
2
 
3
- password_digestカラムを追加するマイグレーションファイルを作成しrails db:nigrateコマンドを入力
3
+ password_digestカラムを追加するマイグレーションファイルを作成し
4
+
5
+ gemfileにgem 'bcrypt','3.1.11' を追加。
6
+
7
+ rails db:nigrateコマンドを入力
4
8
 
5
9
 
6
10