cannot load such file — sqlite3/sqlite3_native (LoadError) on ruby on rails

后端 未结 18 1901
遇见更好的自我
遇见更好的自我 2020-11-22 09:39

When I try to setup basic installation and initiation of server using Rails 4.0.0 on Ruby 2.0.0, I\'m facing the following error message.

/usr/local/lib/ruby         


        
18条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-11-22 10:02

    gem uninstall sqlite3 --all
    ridk exec pacman -S mingw-w64-x86_64-sqlite3
    gem inst sqlite3 --platform ruby
    

    This solved the problem to me.

    Windows 10
    Ruby 2.5.3
    Rails 5.2.2
    

提交回复
热议问题