PCの入れ替え(Win7からWin10へ)以降したところ、まずWin7はRuby2.2.4でRailsは4.2.6でした。
新しいPCではRuby2.5以上でないとRailsをインストールできませんでしたので、Ruby2.5での動作になります。
4.2.6で起動できなかったので、4.2.10へアップデートしたところ、また違うエラーが出てしまったので困惑しています。
一応sqlite3のバージョンの問題かと思い、いくつか試しに入れてみたものの、結果は同じでした。
よろしくお願いいたします。
RUBY
1Traceback (most recent call last): 2 21: from bin/rails:4:in `<main>' 3 20: from bin/rails:4:in `require' 4 19: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands.rb:17:in `<top (required)>' 5 18: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:39:in `run_command!' 6 17: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:75:in `server' 7 16: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:75:in `tap' 8 15: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:78:in `block in server' 9 14: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/railties-4.2.10/lib/rails/commands/commands_tasks.rb:78:in `require' 10 13: from C:/rails/middle/config/application.rb:7:in `<top (required)>' 11 12: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler.rb:114:in `require' 12 11: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `require' 13 10: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:65:in `each' 14 9: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `block in require' 15 8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:76:in `each' 16 7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `block (2 levels) in require' 17 6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/lib/bundler/runtime.rb:81:in `require' 18 5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:2:in `<top (required)>' 19 4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/sqlite3-1.3.13-x64-mingw32/lib/sqlite3.rb:6:in `rescue in <top (required)>' 20 3: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require' 21 2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:240:in `load_dependency' 22 1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `block in require' 23C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/activesupport-4.2.10/lib/active_support/dependencies.rb:274:in `require': cannot load such file -- sqlite3/sqlite3_native (LoadError)
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。