On Monday, September 19, 2016 at 7:24:24 AM UTC-4, Mariusz Kutek wrote ...

This issue came up when trying to get Instiki running on windows10. See: 
https://github.com/parasew/instiki/issues/38#issuecomment-243145259


The sqlite3 gem <https://rubygems.org/gems/sqlite3> really needs to be 
updated and I don't know what preventing this. The the relevant 
instructions for the "fix": above is


   1.  From http://www.sqlite.org/download.html#win32";  I downloaded 
   sqlite-autoconf-3140100.tar.gz
   2. I unzipped and untarred  that into C:/nLab/sqliteAuto/ giving: 
   C:/nLab/sqliteAuto/sqlite-autoconf-3140100/
   3. In the devKit bash shell (C:\nLab\rubyDevKit\msys.bat), which has a 
   bigger PATH than found in C:\Ruby23\bin\setrbvars.bat which is used by 
   the Ruby Microsoft shell, I did:
   

cd /c/nLab/sqliteAuto/sqlite-autoconf-3140100
./configure --disable-shared
make install DESTDIR=/c/nLab/sqliteTMP
gem uninstall sqlite3 --all
gem install sqlite3 --platform=ruby -- 
--with-sqlite3-include=/c/nLab/sqliteTMP/usr/local/include 
--with-sqlite3-lib=/c/nLab/sqliteTMP/usr/local/lib


Then Instiki's .gemfile was patched to contain

gem "sqlite3", "1.3.11", :path => 
"/Ruby23/lib/ruby/gems/2.3.0/gems/sqlite3-1.3.11"

This got things running. I'm such a n00b at ruby I haven't yet figured out 
yet if the gem install step is necessary and whether instead its effect 
could be achieved in the .gemfile.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlite3-ruby" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlite3-ruby+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to