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

質問編集履歴

5

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

2018/12/14 06:26

投稿

SBFC
SBFC

スコア10

title CHANGED
File without changes
body CHANGED
@@ -121,7 +121,21 @@
121
121
  で、
122
122
  http://localhost:3000で「Yay!You're on Rails!」が開けません。
123
123
 
124
+ Ruby,MSYS32,を消去し、Rubyのバージョン2.5.1を探しましたが、
125
+ Ruby 2.5.3-1 (x64)
126
+ Ruby 2.5.3-1 (x86)
127
+ Ruby 2.4.5-1 (x64)
128
+ Ruby 2.4.5-1 (x86)
129
+ Ruby 2.3.3
130
+ Ruby 2.3.3 (x64)
131
+ Ruby 2.2.6
132
+ Ruby 2.2.6 (x64)
133
+ Ruby 2.1.9
134
+ Ruby 2.1.9 (x64)
124
135
 
136
+ Rubyのバージョン2.5.1はありませんでした。
137
+
138
+
125
139
  ### 補足情報(FW/ツールのバージョンなど)
126
140
 
127
141
  windows10 pro 32bit

4

rails sエラー

2018/12/14 06:26

投稿

SBFC
SBFC

スコア10

title CHANGED
File without changes
body CHANGED
@@ -48,7 +48,55 @@
48
48
  conflict .gitignore
49
49
  Overwrite C:/Users/sbfc2/sample/.gitignore? (enter "h" for help) [Ynaqdhm]
50
50
 
51
+ 無事完了後、
51
52
 
53
+ PS C:\Users\sbfc2\sample> rails s
54
+ Traceback (most recent call last):
55
+ 43: from bin/rails:4:in `<main>'
56
+ 42: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
57
+ 41: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
58
+ 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'
59
+ 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'
60
+ 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'
61
+ 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'
62
+ 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'
63
+ 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'
64
+ 34: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/commands.rb:18:in `<top (required)>'
65
+ 33: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/command.rb:46:in `invoke'
66
+ 32: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/railties-5.2.2/lib/rails/command/base.rb:65:in `perform'
67
+ 31: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor.rb:387:in `dispatch'
68
+ 30: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/invocation.rb:126:in `invoke_command'
69
+ 29: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/thor-0.20.3/lib/thor/command.rb:27:in `run'
70
+ 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'
71
+ 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'
72
+ 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'
73
+ 25: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
74
+ 24: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
75
+ 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'
76
+ 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'
77
+ 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'
78
+ 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'
79
+ 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'
80
+ 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'
81
+ 17: from C:/Users/sbfc2/sample/config/application.rb:7:in `<top (required)>'
82
+ 16: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler.rb:114:in `require'
83
+ 15: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:65:in `require'
84
+ 14: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:65:in `each'
85
+ 13: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:76:in `block in require'
86
+ 12: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/bundler-1.17.2/lib/bundler/runtime.rb:76:in `each'
87
+ 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'
88
+ 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'
89
+ 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'
90
+ 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'
91
+ 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'
92
+ 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'
93
+ 5: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13-x86-mingw32/lib/sqlite3.rb:2:in `<top (required)>'
94
+ 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)>'
95
+ 3: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:291:in `require'
96
+ 2: from C:/Ruby25/lib/ruby/gems/2.5.0/gems/activesupport-5.2.2/lib/active_support/dependencies.rb:257:in `load_dependency'
97
+ 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'
98
+ 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)
99
+
52
100
  ### 該当のソースコード
53
101
 
54
102
  Windows PowerShell

3

rails s エラー

2018/12/14 03:17

投稿

SBFC
SBFC

スコア10

title CHANGED
File without changes
body CHANGED
@@ -22,6 +22,15 @@
22
22
  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)
23
23
  が出てhttp://localhost:3000で「Yay!You're on Rails!」が開けません。
24
24
 
25
+ rails s
26
+
27
+
28
+ => Booting WEBrick
29
+ => Rails 3.0.7 application starting in development on http://0.0.0.0:3000
30
+ => Call with -d to detach
31
+ => Ctrl-C to shutdown server
32
+ と表示する方法
33
+
25
34
  ご指導くださると幸いです。ぜひよろしくお願いいたします。
26
35
 
27
36
  ruby on railsで日記を作成

2

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

2018/12/14 03:12

投稿

SBFC
SBFC

スコア10

title CHANGED
File without changes
body CHANGED
@@ -18,8 +18,9 @@
18
18
  また、Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1をどう対処したらようかを調査中でした。
19
19
 
20
20
  しかしながら、sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
21
- rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
21
+ rails new sampleは無事インストール完了し、Rails sはエラー
22
+ 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)
22
- http://localhost:3000で「Yay!You're on Rails!」が開けません。
23
+ が出てhttp://localhost:3000で「Yay!You're on Rails!」が開けません。
23
24
 
24
25
  ご指導くださると幸いです。ぜひよろしくお願いいたします。
25
26
 
@@ -55,7 +56,12 @@
55
56
  調査中です。
56
57
 
57
58
  sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
58
- rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
59
+ rails new sampleは無事インストール完了し、
60
+ Rails sは
61
+
62
+ 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)
63
+
64
+ で、
59
65
  http://localhost:3000で「Yay!You're on Rails!」が開けません。
60
66
 
61
67
 

1

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

2018/12/14 02:46

投稿

SBFC
SBFC

スコア10

title CHANGED
@@ -1,1 +1,1 @@
1
- Rails new sample無事完了しないRails sでエラーの対象方法
1
+ http://localhost:3000で「Yay!You're on Rails!」開けません
body CHANGED
@@ -15,8 +15,14 @@
15
15
 
16
16
  rails new sampleを実行し、railsアプリに必要なファイルを新規作成させ、cdコマンドで配置したディレクトリに移動。
17
17
  bundlerによってrealsアプリと追加で必要なRubyGemsも合わせてインストールを完成させたいのです。
18
- また、Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1をどう対処したらようかの、2点ご指導くださると幸いす。ぜひよろくお願いいします
18
+ また、Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1をどう対処したらようかを調査中でした。
19
19
 
20
+ しかしながら、sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
21
+ rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
22
+ http://localhost:3000で「Yay!You're on Rails!」が開けません。
23
+
24
+ ご指導くださると幸いです。ぜひよろしくお願いいたします。
25
+
20
26
  ruby on railsで日記を作成
21
27
  ■■な機能を実装中に以下のエラーメッセージが発生しました。
22
28
 
@@ -48,7 +54,11 @@
48
54
  Your Ruby version is 2.5.3, but your Gemfile specified 2.5.1の問題なのかgoogleで検索しながら
49
55
  調査中です。
50
56
 
57
+ sampleフォルダがPS C:\Users\sbfc2\上で見つかったため、削除。
58
+ rails new sampleは無事インストール完了し、Rails sも無事完了した様でしたが、
59
+ http://localhost:3000で「Yay!You're on Rails!」が開けません。
51
60
 
61
+
52
62
  ### 補足情報(FW/ツールのバージョンなど)
53
63
 
54
64
  windows10 pro 32bit