
#How to install sqlite in rails install
Install the Ruby Devkit for your setup (DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe for me since I use a 圆4 machine).
#How to install sqlite in rails how to
The basic answer comes from the following post with instructions by "paulwis" on how to properly install sqlite3 for ruby 2.0.0-p0 and some comments on.

I found a lot of information online, but being a Ruby newbie I had a tough time following all. Similar questions with steps that do not resolve my issue:Įven though the question has been answered, I want to post my research to help others. If I do ">rais db" the SQLite shell is presented: What am I missing?!? I'm just trying to install sqlite3 for Ruby on Windows, seems simple right? I'm trying to follow the main Rails tutorial and it doesn't specify any of these issues (probably because Ruby on Windows seems to be a natural pain for a lot of people.)

Right now I'm stuck at the point where I don't even know what state my Ruby on Windows installation is in. ERROR: Error installing sqlite3: ERROR: Failed to build gem native extension.ĭ:/Development/Ruby200-圆4/bin/ruby.exe extconf.rb checking for sqlite3.h. Trying to install activerecord-sqlite3-adapter gives me a "Could not find a valid gem."īuilding native extensions. Please install the sqlite3 adapter: gem install activerecord-sqlite3-adapter (

I have the Ruby dev kit installed and registered.I have a complete Ruby/Apache/Passenger setup done on FreeBSD, and I'm trying to accomplish the task of using Windows as a Ruby development environment. Being really new to Ruby/Rails, and after attempting to resolve the issue myself this weekend I'm making an attempt to seek advice here.
