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
This is the only solution worked for me, derived from this GitHub issue post:
./configure --disable-shared.make install DESTDIR=/c/dev/ruby/tmp. You can change the directory.gem uninstall sqlite3 --all to remove all existing sqlite3 gems.gem install sqlite3 --platform=ruby -- --with-sqlite3-include=C:\dev\ruby\tmp\usr\local\include --with-sqlite3-lib=C:\dev\ruby\tmp\usr\local\lib. Those include and lib directories may be different, so check at first.I am using Ruby version 2.5.1 and Rails version 5.2.0 on Windows 10.