質問編集履歴

5

Ruby,MSYS32,を消去し、Rubyのバージョン2.5.1を探しましたが、

2018/12/14 06:26

投稿

SBFC
SBFC

スコア10

test CHANGED
File without changes
test CHANGED
@@ -244,6 +244,34 @@
244
244
 
245
245
 
246
246
 
247
+ Ruby,MSYS32,を消去し、Rubyのバージョン2.5.1を探しましたが、
248
+
249
+ Ruby 2.5.3-1 (x64)
250
+
251
+ Ruby 2.5.3-1 (x86)
252
+
253
+ Ruby 2.4.5-1 (x64)
254
+
255
+ Ruby 2.4.5-1 (x86)
256
+
257
+ Ruby 2.3.3
258
+
259
+ Ruby 2.3.3 (x64)
260
+
261
+ Ruby 2.2.6
262
+
263
+ Ruby 2.2.6 (x64)
264
+
265
+ Ruby 2.1.9
266
+
267
+ Ruby 2.1.9 (x64)
268
+
269
+
270
+
271
+ Rubyのバージョン2.5.1はありませんでした。
272
+
273
+
274
+
247
275
 
248
276
 
249
277
  ### 補足情報(FW/ツールのバージョンなど)

4

rails sエラー

2018/12/14 06:26

投稿

SBFC
SBFC

スコア10

test CHANGED
File without changes
test CHANGED
@@ -98,6 +98,102 @@
98
98
 
99
99
 
100
100
 
101
+ 無事完了後、
102
+
103
+
104
+
105
+ PS C:\Users\sbfc2\sample> rails s
106
+
107
+ Traceback (most recent call last):
108
+
109
+ 43: from bin/rails:4:in `<main>'
110
+
111
+ 42: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
112
+
113
+ 41: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
114
+
115
+ 40: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
116
+
117
+ 39: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
118
+
119
+ 38: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
120
+
121
+ 37: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
122
+
123
+ 36: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
124
+
125
+ 35: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
126
+
127
+ 34: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
128
+
129
+ 33: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/command.rb:46:in `invoke'
130
+
131
+ 32: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/command/base.rb:65:in `perform'
132
+
133
+ 31: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
134
+
135
+ 30: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
136
+
137
+ 29: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
138
+
139
+ 28: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `perform'
140
+
141
+ 27: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:142:in `tap'
142
+
143
+ 26: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/commands/server/server_command.rb:145:in `block in perform'
144
+
145
+ 25: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
146
+
147
+ 24: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
148
+
149
+ 23: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
150
+
151
+ 22: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
152
+
153
+ 21: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
154
+
155
+ 20: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
156
+
157
+ 19: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
158
+
159
+ 18: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
160
+
161
+ 17: from C:/Users/sbfc2/sample/config/application.rb:7:in `<top (required)>'
162
+
163
+ 16: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler.rb:114:in `require'
164
+
165
+ 15: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:65:in `require'
166
+
167
+ 14: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:65:in `each'
168
+
169
+ 13: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:76:in `block in require'
170
+
171
+ 12: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:76:in `each'
172
+
173
+ 11: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:81:in `block (2 levels) in require'
174
+
175
+ 10: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
176
+
177
+ 9: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:20:in `require_with_bootsnap_lfi'
178
+
179
+ 8: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/loaded_features_index.rb:65:in `register'
180
+
181
+ 7: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `block in require_with_bootsnap_lfi'
182
+
183
+ 6: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:21:in `require'
184
+
185
+ 5: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13-x86-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
186
+
187
+ 4: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13-x86-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>'
188
+
189
+ 3: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
190
+
191
+ 2: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
192
+
193
+ 1: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `block in require'
194
+
195
+ C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
196
+
101
197
 
102
198
 
103
199
  ### 該当のソースコード

3

rails s エラー

2018/12/14 03:17

投稿

SBFC
SBFC

スコア10

test CHANGED
File without changes
test CHANGED
@@ -43,6 +43,24 @@
43
43
  C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
44
44
 
45
45
  が出てhttp://localhost:3000で「Yay!You're on Rails!」が開けません。
46
+
47
+
48
+
49
+ rails s
50
+
51
+
52
+
53
+
54
+
55
+ => Booting WEBrick
56
+
57
+ => Rails 3.0.7 application starting in development on http://0.0.0.0:3000
58
+
59
+ => Call with -d to detach
60
+
61
+ => Ctrl-C to shutdown server
62
+
63
+ と表示する方法
46
64
 
47
65
 
48
66
 

2

Rails sインストール時にエラーが発生 調査中

2018/12/14 03:12

投稿

SBFC
SBFC

スコア10

test CHANGED
File without changes
test CHANGED
@@ -38,9 +38,11 @@
38
38
 
39
39
  しかしながら、sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
40
40
 
41
- rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
41
+ rails new sampleは無事インストール完了し、Rails sはエラー
42
42
 
43
+ C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
44
+
43
- http://localhost:3000で「Yay!You're on Rails!」が開けません。
45
+ が出てhttp://localhost:3000で「Yay!You're on Rails!」が開けません。
44
46
 
45
47
 
46
48
 
@@ -112,7 +114,17 @@
112
114
 
113
115
  sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
114
116
 
115
- rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
117
+ rails new sampleは無事インストール完了し、
118
+
119
+ Rails sは
120
+
121
+
122
+
123
+ C:/Ruby25/lib/ruby/gems/2.5.0/gems/bootsnap-1.3.2/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
124
+
125
+
126
+
127
+ で、
116
128
 
117
129
  http://localhost:3000で「Yay!You're on Rails!」が開けません。
118
130
 

1

http://localhost:3000で「Yay!You're on Rails!」が開けません。

2018/12/14 02:46

投稿

SBFC
SBFC

スコア10

test CHANGED
@@ -1 +1 @@
1
- Rails new sampleが無事完了しない。Rails sでエラーの対象方法
1
+ http://localhost:3000で「Yay!You're on Rails!」が開けません。
test CHANGED
@@ -32,7 +32,19 @@
32
32
 
33
33
  bundlerによってrealsアプリと追加で必要なRubyGemsも合わせてインストールを完成させたいのです。
34
34
 
35
- また、Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1をどう対処したらようかの、2点ご指導くださると幸いす。ぜひよろくお願いいします
35
+ また、Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1をどう対処したらようかを調査中でした。
36
+
37
+
38
+
39
+ しかしながら、sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
40
+
41
+ rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
42
+
43
+ http://localhost:3000で「Yay!You're on Rails!」が開けません。
44
+
45
+
46
+
47
+ ご指導くださると幸いです。ぜひよろしくお願いいたします。
36
48
 
37
49
 
38
50
 
@@ -98,6 +110,14 @@
98
110
 
99
111
 
100
112
 
113
+ sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
114
+
115
+ rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
116
+
117
+ http://localhost:3000で「Yay!You're on Rails!」が開けません。
118
+
119
+
120
+
101
121
 
102
122
 
103
123
  ### 補足情報(FW/ツールのバージョンなど)