Lots of people have been getting sqlite3 errors with this so I thought
I would post how I got it working.
Install Ruby. (Go to http://rubyonrails.org/download and run the
Windows installer. At the time of writing, I ran rubyinstaller-1.9.2-
Install Ruby Gems. (At the time of writing I installed
rubygems-1.3.7.zip and then extracted the files and ran ‘ruby
setup.rb’ from the command line.)
Install Rails. (‘gem install rails’ from the command line.)
You need to make sure sqlite3.dll, mozcrt19.dll, and sqlite3.def
are in your ruby\bin directory and sqlite3 is in your gemfile. Also,
NONE of these are included in the libraries even if you try ‘gem
install sqlite3’ so you have to manually scavenge the web for them.
Once I did all this and restarted my console it worked!
- Install Ruby…
- Install Ruby Gems…
- Install Rails…
- You need to make sure sqlite3.dll, mozcrt19.dll, and sqlite3.def
are in your ruby\bin directory and sqlite3 is in your gemfile.
I did this
2. (nothing - gem command is included in installation)
3. gem install rails
4. gem install sqlite3-ruby
That printed a message to get sqlite from:
and copy it to ruby/bin. Which I did, and rails worked.
BTW - mozcrt19.dll is not required.
- Do yourself a favor and install Devkit from
This adds support for building native C gems (RedCloth, nokogiri,
EventMachine…) just as linux/macosx/unix do - via the same gem install