I installed ruby 2.0 using rubyinstaller, devkit and rails 4.0 beta (all 32 bits) on my 64-bit windows (because ruby strangely interprets a 64-bit processor as 32-bit)
I added sqlite3 binaries (downloaded separately) to my PATH.
When I run the rails server command, I get the following error
C: /Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb: 6: in `require ': cannot load such a file - sqlite3 / sqlite3_native (LoadError ) from C: /Ruby200/lib/ruby/gems/2.0.0/gems/sqlite3-1.3.7-x86-mingw32/lib/sqlite3.rb: 6:
I tried the fix at https://groups.google.com/forum/?fromgroups=#!topic/rubyinstaller/gedIaMryCFQ to reinstall the sqlite3 stone from the source, but it could not find sqlite3 with an error.
After hours of debugging, I cannot fix this problem. This completely disrupted my motivation to learn the infallible structure of Ruby on Rails. Ruby should have been easy! Can anyone help?
source
share