Ruby on rails を立ち上げたい
progateを使ってruby、railsの勉強を始めたばかりの者です。
皆様の質問、回答を見させていただきましたがわからないので質問させてください。
・SQlite3 をインストールしました(windows 64bit)
・rails をインストールしました(Rails 5.2.4.2)
・rails new sample_app -G でsample_appというアプリケーションフォルダを作り
・cd sample_app で移動し
・rails s で立ち上げようとしています。
発生している問題・エラーメッセージ
Traceback (most recent call last): 21: from bin/rails:4:in `<main>' 20: from bin/rails:4:in `require' 19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands.rb:18:in `<top (required)>' 18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command.rb:46:in `invoke' 17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command/base.rb:69:in `perform' 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `perform' 12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `tap' 11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:145:in `block in perform' 10: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:145:in `require' 9: from C:/Users/81806/sample_app/config/application.rb:7:in `<top (required)>' 8: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler.rb:114:in `require' 7: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:65:in `require' 6: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:65:in `each' 5: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:76:in `block in require' 4: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:76:in `each' 3: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:81:in `block (2 levels) in require' 2: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:81:in `require' 1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:4:in `<top (required)>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:4:in `require': cannot load such file -- sqlite3/2.6/sqlite3_native (LoadError) 22: from bin/rails:4:in `<main>' 21: from bin/rails:4:in `require' 20: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands.rb:18:in `<top (required)>' 19: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command.rb:46:in `invoke' 18: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/command/base.rb:69:in `perform' 17: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor.rb:392:in `dispatch' 16: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/invocation.rb:127:in `invoke_command' 15: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/thor-1.0.1/lib/thor/command.rb:27:in `run' 14: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `perform' 13: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:142:in `tap' 12: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:145:in `block in perform' 11: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/railties-5.2.4.2/lib/rails/commands/server/server_command.rb:145:in `require' 10: from C:/Users/81806/sample_app/config/application.rb:7:in `<top (required)>' 9: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler.rb:114:in `require' 8: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:65:in `require' 7: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:65:in `each' 6: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:76:in `block in require' 5: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:76:in `each' 4: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:81:in `block (2 levels) in require' 3: from C:/Ruby26-x64/lib/ruby/2.6.0/bundler/runtime.rb:81:in `require' 2: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>' 1: from C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>' C:/Ruby26-x64/lib/ruby/gems/2.6.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:6:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
なにをしていいのか全く分からない状態です。勉強しようと思っていた矢先です。。。
補足情報(FW/ツールのバージョンなど)
windows 10 です。すべてprogateに沿って実行してきました。
助けていただきたいです。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2020/05/09 13:54