T
T
TopClone2016-12-11 17:03:16
ruby
TopClone, 2016-12-11 17:03:16

How to install sqlite3 on window ruby?

So I am trying to install sqlite3 database.
Here are the steps I follow:
1) Download and install DevKit for Ruby (rubyinstaller.org)
2) Open the standard windows console and write:

cd c:/dev/
ruby dk.rb
ruby dk.rb install

3) Download and install sqlite3 (sqlite.org)
4) Open DevKit console and write
cd c:/sqlite3/
./configure
make
make install

gem install sqlite3 --platform=ruby -- --with-sqlite3-include=/c:/sqlite3/ --with-sqlite3-lib=/c:/sqlite3/.libs/

They reply to me:
ERROR: Could not find a valid gem 'sqlite3' ()= 0), here is why:
       Unableto download data from https://rubygems.org/ - SSL-connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://api.rubygems.org/specs.4.8.gz)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
oh_shi, 2016-12-11
@TopClone

--source http://rubygems.org
or
else you can try to manually reinstall RubyGems
https://rubygems.org/pages/download
1) download the archive
2) unzip
3) go to the resulting folder
4) run "ruby setup.rb"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question