Being really new to Ruby / Rails, and after trying to solve the problem myself this weekend, I am trying to ask for advice here.
I have a full installation of Ruby / Apache / Passenger on FreeBSD, and I'm trying to complete the task of using Windows as my Ruby development environment.
Still:
which I have no "understanding". Trying to install the activerecord-sqlite3 adapter gives me "Could not find the correct gem ..."
"> gem install sqlite3" returns:
Building native extensions. This could take a while... Building native extensions. This could take a while... Building native extensions. This could take a while... Building native extensions. This could take a while... ERROR: Error installing sqlite3: ERROR: Failed to build gem native extension.
D: /Development/Ruby200-x64/bin/ruby.exe extconf.rb checking for sqlite3.h... *** extconf.rb failed ***
Right now I'm stuck at a point where I donβt even know what state my Ruby installation on Windows is in. I am trying to follow a basic Rails tutorial and it does not identify any of these problems (perhaps because Ruby on Windows seems to be a natural pain for many people.)
What am I missing?!? I'm just trying to install sqlite3 for Ruby on Windows, it seems simple, right?
If I do ">rais db" the SQLite shell will be presented:
SQLite version 3.7.15.2 2013-01-09 11:53:05
Similar questions with steps that do not solve my problem: Install SQLite 3.6 on Windows 7
windows ruby ruby-on-rails sqlite sqlite3
chrisp Mar 18 '13 at 15:21 2013-03-18 15:21
source share