Home > General > SQLite installation on windows for Rails framework to pick

SQLite installation on windows for Rails framework to pick


Here are the simple steps to install SQLite database on windows for your Rails framework to pick.

STEP 1:
Go to http://www.sqlite.org/download.html

STEP 2:
Go to section “Precompiled Binaries For Windows”
Download 3 files sqlite-shell-win32*.zip, sqlite-dll-win32*.zip, sqlite-analyzer-win32*.zip (optional)

Unzip above files to find 4 files.

  1. sqlite3.def
  2. sqlite3.dll
  3. sqlite3.exe
  4. sqlite3_analyzer.exe

STEP 3:
In your ruby installation path say c:\ruby\bin
It’s assumed that PATH environment variable is set to above ruby path
paste these 4 extracted files

STEP 4:

Either issue
cmd> bundle install
or
cmd> gem install sqlite3-ruby

That’s it!

Advertisements
Categories: General
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: